安装snmp服务, 中间报错:

Can't locate ExtUtils/Embed.pm in @INC (@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 .).
BEGIN failed--compilation aborted.

 

到网上搜索, 需要安装perl-ExtUtils-Embed: 

    yum install perl-ExtUtils-Embed -y

 

其他人安装nginx或git也会遇到这错误. 总结原因,应该是:

"perl有两种方法,一种是直接在配置文件写,还有一种是把perl脚本写在外部文件中" (参考:http://www.netingcn.com/nginx-perl.html)

 

 

CSDN 原文:https://blog.csdn.net/zhulei632/article/details/41317057?utm_source=copy 版权声明:本文为博主原创文章,转载请附上博文链接!

相关文章:

  • 2021-07-02
  • 2021-11-12
  • 2021-06-26
  • 2022-01-21
  • 2022-12-23
  • 2022-01-18
  • 2021-08-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
  • 2021-08-21
  • 2021-12-05
相关资源
相似解决方案