当前位置:   article > 正文

【Error】 perl:Can‘t locate open.pm in @INC (you may need to install the open module) (@INC contains_can't locate open.pm in @inc (you may need to inst

can't locate open.pm in @inc (you may need to install the open module)

 

本来就是火焰图不熟悉,perl的bug更是火上浇油

 

报错:
$ ./flamegraph.pl perf.folded > perf.svg
Can't locate open.pm in @INC (you may need to install the open module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./flamegraph.pl line 97.
BEGIN failed--compilation aborted at ./flamegraph.pl line 97.

 

解决办法:

更新perl版本 :yum install perl 

可能安装上了这个:

 perl-open                               noarch            1.11-416.el8                                     AppStream             77 k

 

 

参考:

https://www.perlmonks.org/?node_id=1130068

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/198139
推荐阅读
相关标签
  

闽ICP备14008679号