Problem building net-snmp 5.3.1 rc2 on RHEL4 64bit

Matt Shields mshields at namemedia.com
Thu Jul 6 10:19:10 EDT 2006


I'm having a terrible time trying to compile net-snmp-5.3.1.rc2 on RHEL4
64 bit.  Below is the last couple lines of the make.  Can anyone shed
light on this?

I do know that /usr/lib/libpopt.so and /usr/lib64/libpopt.so do exist.


/bin/sh ../libtool  --mode=compile gcc -I../include -I. -I../agent
-I../agent/mibgroup -I../snmplib   -g -O2 -Dlinux -I/usr/include/rpm  -c
-o snmpd.lo snmpd.c
rm -f .libs/snmpd.lo
gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
-Dlinux -I/usr/include/rpm -c snmpd.c  -fPIC -DPIC -o .libs/snmpd.lo
gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
-Dlinux -I/usr/include/rpm -c snmpd.c -o snmpd.o >/dev/null 2>&1
mv -f .libs/snmpd.lo snmpd.lo
/bin/sh ../libtool  --mode=link gcc -g -O2 -Dlinux -I/usr/include/rpm
-o snmpd snmpd.lo    libnetsnmpmibs.la libnetsnmpagent.la
helpers/libnetsnmphelpers.la  ../snmplib/libnetsnmp.la -ldl -lrpm
-lrpmio -lpopt  -lz -lcrypto -lm
gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o
./.libs/libnetsnmpmibs.so ./.libs/libnetsnmpagent.so
helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so -ldl
-lrpm -lrpmio /usr/lib/libpopt.so -lz -lcrypto -lm  -Wl,--rpath
-Wl,/usr/local/lib
/usr/lib/libpopt.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/opt/install/net-snmp-5.3.1.rc2/agent'
make: *** [subdirs] Error 1

Matthew Shields
Sr Systems Administrator
NameMedia, Inc.
(P) 781-839-2828
mshields at namemedia.com
http://www.namemedia.com




More information about the Discuss mailing list