This is a discussion on Re: Complaint about libpopt in building - could not read symbols: within the SNMP Users forums, part of the Networking and Network Related category; Casey Ong wrote: > I have the following error when building net-snmp rel 5.4 on a Redhat 4 &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |