Re: NetSNMP Perl compilation problem in CentOS

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi to all,

I'm getting a hard time to fixing this  "undefined symbol: DES_key_sched " error. I've done everything but still receiving this kind of error. Does any one of you experience this or this is a bug?
I'm using CentOS (Linux version 2.6.18-92.el5). NetSNMP 5.4.2.1 (installed via ./configure and installed with perl package). Perl  5.8.8 (installed via ./configure).  Trying to change perl version but to Perl 5.8.9 but still recieving the same error. 

Thanks in advance for any helps.


> From: [email protected] <[email protected]>
> Subject: NetSNMP Perl compilation problem in CentOS
> To: [email protected]
> Date: Friday, June 19, 2009, 3:05 PM
> 
> I have problem compiling NetSNMP Perl using CentOS. I'm
> using the latest NetSNMP. Any Idea why? Thank you
> 
> 
> [root@localhost default_store]# perl Makefile.PL
> Writing Makefile for NetSNMP::default_store
> [root@localhost default_store]# make
> gcc -c   -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm
> -I. -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement
> -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe
> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables   -DVERSION=\"5.04021\"
> -DXS_VERSION=\"5.04021\" -fPIC
> "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE"   default_store.c
> Running Mkbootstrap for NetSNMP::default_store ()
> chmod 644 default_store.bs
> rm -f
> blib/arch/auto/NetSNMP/default_store/default_store.so
> gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4
> -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables
> -L/usr/local/lib  default_store.o  -o
> blib/arch/auto/NetSNMP/default_store/default_store.so   
>    \
>            -L/usr/local/lib -lnetsnmp   \
> 
> chmod 755
> blib/arch/auto/NetSNMP/default_store/default_store.so
> cp default_store.bs
> blib/arch/auto/NetSNMP/default_store/default_store.bs
> chmod 644
> blib/arch/auto/NetSNMP/default_store/default_store.bs
> Manifying blib/man3/NetSNMP::default_store.3pm
> [root@localhost default_store]# make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch"
> test.pl
> 1..90
> Can't load
> 'blib/arch/auto/NetSNMP/default_store/default_store.so' for
> module NetSNMP::default_store:
> blib/arch/auto/NetSNMP/default_store/default_store.so:
> undefined symbol: DES_key_sched at
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm
> line 226.
>  at test.pl line 97
> Compilation failed in require at test.pl line 97.
> BEGIN failed--compilation aborted at test.pl line 97.
> not ok 1
> make: *** [test_dynamic] Error 2
> 
> 
> 
> 
>       
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited
> royalty-free distribution of the report engine for
> externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> 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
>



      

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.