sasson, shuki
2005-01-12 14:25:25 UTC
Hi all sorry for applying the question the second time but I thought that
more information and focus is required. I am trying to use mib2c. According
to tutorial I can build it using configure and the flags:
--enable-embedded-perl
I have tried this approach still when activating mib2c I get an error that
the SNMP perl module is not installed.
I have tried installing the perl SNMP module manually as follows:
perl Makefile.PL -NET-SNMP-CONFIG="sh ../../net-snmp-config"
-NET-SNMP-IN-SOURCE=true
then running
make
and finally
make test
I am getting the following error message:
make[1]: Leaving directory `/home/nasadmin/net-snmp-5.2/perl/ASN'
make[1]: Entering directory `/home/nasadmin/net-snmp-5.2/perl/OID'
PERL_DL_NONLAZY=1 /usr/bin/perl "-I../blib/lib" "-I../blib/arch" test.pl
1..38
# Running under perl version 5.008005 for linux
# Current time local: Wed Jan 12 11:39:02 2005
# Current time GMT: Wed Jan 12 16:39:02 2005
# Using Test.pm version 1.25
Can't load '../blib/arch/auto/SNMP/SNMP.so' for module SNMP:
../blib/arch/auto/SNMP/SNMP.so: undefined symbol: usmAESPrivProtocol at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
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 `/home/nasadmin/net-snmp-5.2/perl/OID'
make: *** [test] Error 2
Thanks for the help.
Shuki Sasson
Principal Engineer, Network Storage Group
EMC²
where information lives
Fax: 508 305 9026
Phone: 508 305 8515
Cell: 617 834 4258
Pager: 877 919 0794
Email: ***@emc.com
more information and focus is required. I am trying to use mib2c. According
to tutorial I can build it using configure and the flags:
--enable-embedded-perl
I have tried this approach still when activating mib2c I get an error that
the SNMP perl module is not installed.
I have tried installing the perl SNMP module manually as follows:
perl Makefile.PL -NET-SNMP-CONFIG="sh ../../net-snmp-config"
-NET-SNMP-IN-SOURCE=true
then running
make
and finally
make test
I am getting the following error message:
make[1]: Leaving directory `/home/nasadmin/net-snmp-5.2/perl/ASN'
make[1]: Entering directory `/home/nasadmin/net-snmp-5.2/perl/OID'
PERL_DL_NONLAZY=1 /usr/bin/perl "-I../blib/lib" "-I../blib/arch" test.pl
1..38
# Running under perl version 5.008005 for linux
# Current time local: Wed Jan 12 11:39:02 2005
# Current time GMT: Wed Jan 12 16:39:02 2005
# Using Test.pm version 1.25
Can't load '../blib/arch/auto/SNMP/SNMP.so' for module SNMP:
../blib/arch/auto/SNMP/SNMP.so: undefined symbol: usmAESPrivProtocol at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
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 `/home/nasadmin/net-snmp-5.2/perl/OID'
make: *** [test] Error 2
Thanks for the help.
Shuki Sasson
Principal Engineer, Network Storage Group
EMC²
where information lives
Fax: 508 305 9026
Phone: 508 305 8515
Cell: 617 834 4258
Pager: 877 919 0794
Email: ***@emc.com