linux安装软件报错: Can't locate ExtUtils/Embed.pm in @INC...

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux安装软件报错: Can't locate ExtUtils/Embed.pm in @INC...相关的知识,希望对你有一定的参考价值。

安装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


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

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


以上是关于linux安装软件报错: Can't locate ExtUtils/Embed.pm in @INC...的主要内容,如果未能解决你的问题,请参考以下文章

【Python】在安装python模块时报错:Unicode Decode Error ascii codec can't decode byte…

安装Python3.6.2报错:zipimport.ZipImportError: can't decompress data; zlib not available

Windows下使用pip安装python包是报错-UnicodeDecodeError: 'ascii' codec can't decode byte 0xcb in po

使用Linux调用资源库中的Job报错-ERROR: No repository provided, can't load job.

python 远程连接数据库显示can't connect to mysql server on 'lo... 解决方案

源码安装mysql5.6x启动报错:[ERROR] Can't find messagefile '/data/mysqldata/3306/english/errmsg.sys