Something worng with perl or net-snmp-perl?

Christopher Thorjussen joffer@xxxxxxxxx
Wed Oct 5 02:35:52 CEST 2005


I'm trying to get perl working with SNMP and have installed net-snmp* packages, but I get this error:

root@box # perl
use Net::SNMP;

Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i586-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl .) at - line 1.
BEGIN failed--compilation aborted at - line 1.


I try to locate SNMP.pm and I get this:

root@box # locate "SNMP.pm"
/usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi/SNMP.pm

"/usr/lib/perl5/vendor_perl/5.8.5" is for what I can see in the @INC path...??

Whats wrong?

/Christopher Thorjussen


More information about the tsl-contrib-discuss mailing list