Try a "make clean" or "make distclean" or a fresh install.
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Mathis
Sent: Monday, October 22, 2007 5:09 PM
To: [email protected]
Subject: Compile error using SNMP 5.3.1
Hi,
I received the following compile error during 'make'. Additional info as
follows:
OS: RH ES 4.0
64-bit kernel
gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o
./.libs/libnetsnmpmibs.so ./.libs/libnet snmpagent.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/FOSS/Net-SNMP/net-snmp-5.3.1/agent'
make: *** [subdirs] Error 1
[EMAIL PROTECTED] net-snmp-5.3.1]#
[EMAIL PROTECTED] lib]# ls -al libpop*
-rw-r--r-- 1 root root 30548 Dec 6 2004 libpopt.a
-rwxr-xr-x 1 root root 786 Dec 6 2004 libpopt.la
lrwxrwxrwx 1 root root 16 Oct 22 16:02 libpopt.so ->
libpopt.so.0.0.0
lrwxrwxrwx 1 root root 16 Oct 22 16:03 libpopt.so.0 ->
libpopt.so.0.0.0
-rwxr-xr-x 1 root root 28348 Dec 6 2004 libpopt.so.0.0.0
[EMAIL PROTECTED] lib]#
Note: I also tried removing the links to libpopt.so.0.0.0 and renaming
same to libpopt.so, but error still occurred. Appreciate any additional
information - not sure what file in wrong format indicates. Thanks.
-Jim
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
you have received this email in error please notify the system manager. This
message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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