perl 5.10出现Can't locate NetServerFork.pm

perl 5.10出现Can't locate NetServerFork.pm,第1张

概述在centos6.0上面安装munin-node,但是启动时出现: Starting Munin Node: Can't locate Net/Server/Fork.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/per

在centos6.0上面安装munin-node,但是启动时出现:
Starting Munin Node: Can't locate Net/Server/Fork.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) at /usr/sbin/munin-node line 130.
BEGIN Failed--compilation aborted at /usr/sbin/munin-node line 130.

但通过find查找发现其实这个包是存在的,路径为/usr/lib/perl5/vendor_perl/5.8.8/Net

@H_403_19@find /usr/ -name "Fork.pm"
但这个路径确实没有包含在@INC

经过一翻测试,做如下软链接,则解决问题:
@H_403_19@ln -s /usr/lib/perl5/vendor_perl/5.8.8/Net /usr/lib64/perl5/vendor_perl/Net 总结

以上是内存溢出为你收集整理的perl 5.10出现Can't locate Net/Server/Fork.pm全部内容,希望文章能够帮你解决perl 5.10出现Can't locate Net/Server/Fork.pm所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1285840.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-09
下一篇 2022-06-09

发表评论

登录后才能评论

评论列表(0条)

保存