Hello, I'm receiving an error when attempting to
install the SNMP Perl module. First, net-snmp-5.0.8 was successfully installed
and all tests were successful. The tests for the Perl module are not successful.
This is a PIII running RH9.
# Running under perl version 5.008 for linux
# Current time local: Sat Oct 18 18:41:00 2003 # Current time GMT: Sat Oct 18 23:41:00 2003 # Using Test.pm version 1.23 Can't load '../blib/arch/auto/SNMP/SNMP.so' for module SNMP: ../blib/arch/auto/SNMP/SNMP.so: undefined symbol: PerlIO_fp intf at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229. at ../blib/lib/NetSNMP/OID.pm line 19 Compilation failed in require at ../blib/lib/NetSNMP/OID.pm line 19. BEGIN failed--compilation aborted at ../blib/lib/NetSNMP/OID.pm line 19. Compilation failed in require at test.pl line 10. BEGIN failed--compilation aborted at test.pl line 10. make[1]: *** [test_dynamic] Error 255 make[1]: Leaving directory `/usr/local/src/net-snmp-5.0.8/perl/OID' make: *** [test] Error 2 The system is a PIII running RH9. I tried both of
the following:
perl Makefile.PL -NET-SNMP-CONFIG="sh
../../net-snmp-config" -NET-SNMP-IN-SOURCE=true
perl Makefile.PL
I decided to install RPMs, and the following are
the ones I used:
net-snmp-5.0.9-2.i386.rpm
net-snmp-utils-5.0.9-2.i386.rpm
net-snmp-perl-5.0.9-2.i386.rpm
I still receive the following error:
Can't locate object method "new" via package
"SNMP::Session" at ./snmpvar.monitor line 157.
Any thoughts would be greatly appreciated.
Allyn
|
_______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon