I have problem compiling NetSNMP Perl using CentOS. I'm using the latest
NetSNMP. Any Idea why? Thank you
[r...@localhost default_store]# perl Makefile.PL
Writing Makefile for NetSNMP::default_store
[r...@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
[r...@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