Title: Perl module Installation problem on Linux 2.6.9-1.667

I am submitting the solution to the mailing list so anyone stumbling on this in the future will know what the problem is.

I found the solution with the help of Robert Story (thanks).

The problem is with mismatched version on net-snmp. If you come across this problem you need to download the rpm from net-snmp download site.

Then remove the old module net-snmp:

rpm -e net-snmp-utils-5.1.2-11.i386

rpm -e net-snmp-devel-5.1.2-11.i386

 

Install the 5.2 rpm.

rpm -i net-snmp-5.2-1.fc2.i686.rpm --force –nodeps

 

mib2c started working after that. 

 

Shuki


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sasson, shuki
Sent: Wednesday, January 12, 2005 10:39 AM
To: net-snmp-users@lists.sourceforge.net
Subject: Perl module Installation problem on Linux 2.6.9-1.667

 

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: [EMAIL PROTECTED]

Reply via email to