Re: Issue on compiling 5.3.1 on redhat 9

Daniel Lacey <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Make sure you have the RPM package elfutils-libelf on your system.


Hai Wang wrote:

>Hello,
>
>    I have a compilation issue regarding NET-SNMP 5.3.1, I managed to
>compile source code of net-snmp 5.3.1 on redhat 9 and 2.4.25 kernel, but
>I got the following errors, please let me know your thoughts.
>
>
>
>
>-------------------------
>....
>....
>
>gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o
>./.libs/libnetsnmpmibs.so ./.libs/libn etsnmpagent.so
>helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so -ldl
>/usr/lib/librp m.so /usr/lib/librpmdb.so
>-L/usr/src/build/229501-i386/BUILD/rpm-4.2/zlib -L/usr/local/lib -lelf
>/us r/lib/librpmio.so -lrt -lpthread -lbz2 /usr/lib/libpopt.so -lz
>-lcrypto -lm  -Wl,--rpath -Wl,/usr/lo cal/lib
>/usr/bin/ld: cannot find -lelf
>collect2: ld returned 1 exit status
>make[1]: *** [snmpd] Error 1
>make[1]: Leaving directory `/home/hwang/net-snmp-5.3.1/agent'
>make: *** [subdirs] Error 1
>
>
>-------------------------
>
>
>
>Much appreciated for any help!
>
>--
>Hai Wang
>Principal Software Engineer
>Fine Point Technologies, Inc.
>139 Centre Street, 6th Floor
>New York, New York 10013-4408
>email: [email protected]
>phone: +1.212.962.7410 x 326
>fax: +1.212.962.7404
>web: http://www.finepoint.com
>
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>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
>
>  
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.