Hi, everyone

I try to install net-snmp in my system(redhat9.0 kernal:2.4.20-8) these 2 days,
but I failed though I have tried more than one version. 
I need your help.

my last version is net-snmp5.4
my steps:
1) ./configure --prefix=/usr/local/net-snmp-5.4
2) make

and raise error when make

/usr/bin/ld: ../blib/arch/auto/NetSNMP/agent/agent.so: undefined versioned 
symbol name _LIB_VERSION@@GLIBC_2.0
/usr/bin/ld: failed to set dynamic section sizes: Bad value

Thanks a lot

Best Regards
John Deng


attaching more make details

chmod 755 ../../blib/arch/auto/NetSNMP/agent/default_store/default_store.so
cp default_store.bs 
../../blib/arch/auto/NetSNMP/agent/default_store/default_store.bs
chmod 644 ../../blib/arch/auto/NetSNMP/agent/default_store/default_store.bs
Manifying ../../blib/man3/NetSNMP::agent::default_store.3
make[3]: Leaving directory 
`/usr/local/src/tmp/net-snmp-5.4/perl/agent/default_store'
/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -prototypes 
-typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  agent.xs 
> agent.xsc && mv agent.xsc agent.c
cc -c   -I../../include -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm 
-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE -I. -I/usr/local/include 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2   -DVERSION=\"5.04\" 
-DXS_VERSION=\"5.04\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE"   
agent.c
Running Mkbootstrap for NetSNMP::agent ()
chmod 644 agent.bs
rm -f ../blib/arch/auto/NetSNMP/agent/agent.so
LD_RUN_PATH="/usr/local/lib:/usr/local/lib/perl5/5.8.8/i686-linux/CORE" cc  
-shared -L/usr/local/lib agent.o  -o ../blib/arch/auto/NetSNMP/agent/agent.so   
     \
   -L/usr/local/src/tmp/net-snmp-5.4/perl/agent/../../snmplib/.libs 
-L/usr/local/src/tmp/net-snmp-5.4/perl/agent/../../snmplib 
-L/usr/local/src/tmp/net-snmp-5.4/perl/agent/../../agent/.libs 
-L/usr/local/src/tmp/net-snmp-5.4/perl/agent/../../agent 
-L/usr/local/src/tmp/net-snmp-5.4/perl/agent/../../agent/helpers/.libs 
-L/usr/local/src/tmp/net-snmp-5.4/perl/agent/../../agent/helpers 
-L/usr/local/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -ldl 
-lrpm -lrpmio -lpopt -ldb-3.1 -lz -lcrypto -lm -L/usr/local/lib 
-L/usr/local/lib/perl5/5.8.8/i686-linux/CORE -lperl -lnsl -ldl -lm -lcrypt 
-lutil -lc    \
   
/usr/bin/ld: ../blib/arch/auto/NetSNMP/agent/agent.so: undefined versioned 
symbol name _LIB_VERSION@@GLIBC_2.0
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[2]: *** [../blib/arch/auto/NetSNMP/agent/agent.so] Error 1
make[2]: Leaving directory `/usr/local/src/tmp/net-snmp-5.4/perl/agent'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/usr/local/src/tmp/net-snmp-5.4/perl'
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to