Hello,
Here is my situation: Note that I’m using net-snmp-5.5
1. I had been using mib2c successfully for awhile
2. Rebooted my linux machine and did some cleans
3. Now my mib2c does not work, and complains of Perl module not being found
4. I tried to install Perl (although it should have already been installed
since mib2c used to work!) and
5. The make test inside the perl directory fails.
6. When I redo mib2c, now I see a different error.
Please advice. The error logs are enclosed below for steps 5 and 6.
STEP 5:
Can't load '../blib/arch/auto/NetSNMP/agent/agent.so' for module
NetSNMP::agent: /usr/lib/libnetsnmpagent.so.20: undefined symbol: _ZdlPv at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
at test.pl line 15
Compilation failed in require at test.pl line 15.
BEGIN failed--compilation aborted at test.pl line 15.
not ok 1
make[1]: *** [test_dynamic] Error 2
make[1]: Leaving directory
`/home/kraghunathan/views/sfdev-2.0/src/thirdparty/net-snmp-5.5/perl/agent'
make[1]: Entering directory
`/home/kraghunathan/views/sfdev-2.0/src/thirdparty/net-snmp-5.5/perl/SNMP'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'../blib/lib', '../blib/arch')" t/*.t
t/async.......
Message from syslogd@ at Fri Jul 2 10:22:37 2010 ...
STEP 6:
[kraghunat...@kavitasfdev bin]$ mib2c
Use of uninitialized value in hash element at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/SNMP.pm line 1325.
Use of uninitialized value in hash element at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/SNMP.pm line 1326.
Use of uninitialized value in null operation at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/SNMP.pm line 1325.
You didn't give mib2c a valid OID to start with. IE, I could not find
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users