RE: Complaint about libpopt in building - could not read symbols:File in wrong format
"Casey Ong" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Thomas, Thanks... It resolved my the error. Rgds Casey -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Thomas Anders Sent: 02 May 2007 15:39 To: Casey Ong Cc: [email protected] Subject: Re: Complaint about libpopt in building - could not read symbols:File in wrong format Casey Ong wrote: > I have the following error when building net-snmp rel 5.4 on a Redhat 4 > enterprise machine. I will appreiciate your kind advise... > [...] > gcc -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -o .libs/snmpd > .libs/snmpd.o -Wl,-E -Wl,-rpath -Wl,/usr/lib64/perl5/5.8.5/x86_64-linux-thre > ad-multi/CORE ./.libs/libnetsnmpmibs.so ./.libs/libnetsnmpagent.so > helpers/.libs/libnetsnmphelpers.so > ../snmplib/.libs/libnetsnmp.so -lrpm -lrpmio > /usr/lib/libpopt.so -lz -lcrypto > /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader. > a -L/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE -lperl -lnsl -ldl > -lm -lcrypt -lutil -lpthread -lc -Wl,--rpath -Wl,/usr/local/lib > /usr/lib/libpopt.so: could not read symbols: File in wrong format On a x86_64 Linux machine, you need to: ./configure --with-ldflags=-L/usr/lib64 ... If you build our source RPM, this should be done automatically. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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