Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem building net-snmp 5.3.1 rc2 on RHEL4 64bit



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





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org