RE: net-snmp make failing
"Boby Paul" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
When I checked it looks likes the libelf is in my machine. find / -name libelf* /usr/lib/libelf.so.1 /usr/lib/libelf-0.97.1.so This is the make output I am getting make[2]: Leaving directory `/home/bpaul/packages/snmp/net-snmp/src/net-snmp-5.4.1/agent/mibgroup' /bin/sh ../libtool --mode=link gcc -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -o snmpd snmpd.lo -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./helpers libnetsnmpagent.la helpers/libnetsnmphelpers.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lz -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -L/usr/local/lib /usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/DynaLoader/DynaLoader. a -L/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc gcc -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -o .libs/snmpd .libs/snmpd.o -Wl,-E -Wl,-rpath -Wl,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -L/home/bpaul/packages/snmp/net-snmp/src/net-snmp-5.4.1/agent/.libs -L/home/bpaul/packages/snmp/net-snmp/src/net-snmp-5.4.1/agent/helpers/.l ibs -L/home/bpaul/packages/snmp/net-snmp/src/net-snmp-5.4.1/snmplib/.libs -L/home/bpaul/packages/snmp/net-snmp/src/net-snmp-5.4.1/snmplib -L/home/bpaul/packages/snmp/net-snmp/src/net-snmp-5.4.1/agent/helpers ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so /home/bpaul/packages/snmp/net-snmp/src/net-snmp-5.4.1/agent/helpers/.lib s/libnetsnmphelpers.so /home/bpaul/packages/snmp/net-snmp/src/net-snmp-5.4.1/agent/.libs/libnet snmpagent.so /home/bpaul/packages/snmp/net-snmp/src/net-snmp-5.4.1/snmplib/.libs/libn etsnmp.so /usr/lib/librpm.so -L/usr/src/build/757196-i386/install/usr/lib -L/usr/lib /usr/lib/librpmdb.so -L/usr/local/lib -lelf -lselinux /usr/lib/librpmio.so /usr/lib/libbeecrypt.so -lrt -lbz2 /usr/lib/libpopt.so ../snmplib/.libs/libnetsnmp.so -lcrypto -lz /usr/lib/perl5/5.8.5/i386-linux-thread-multi/auto/DynaLoader/DynaLoader. a -L/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -Wl,--rpath -Wl,/usr/local/lib /usr/bin/ld: cannot find -lelf collect2: ld returned 1 exit status make[1]: *** [snmpd] Error 1 make[1]: Leaving directory `/home/bpaul/packages/snmp/net-snmp/src/net-snmp-5.4.1/agent' make: *** [subdirs] Error 1 Helps are appreciated. Thanks Boby -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Boby Paul Sent: Wednesday, August 15, 2007 11:40 AM To: Bruce Shaw; [email protected] Subject: RE: net-snmp make failing RedHat Enterp Linux 4 on Dell servers -----Original Message----- From: Bruce Shaw [mailto:[email protected]] Sent: Wednesday, August 15, 2007 11:39 AM To: Boby Paul; [email protected] Subject: RE: net-snmp make failing Your missing ELF. platform? >When I try to build net-snmp package in RHL, I am getting this error. >/usr/bin/ld: cannot find -lelf >collect2: ld returned 1 exit status >Could anyone please point out which package I am missing thanks 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 ------------------------------------------------------------------------- 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