Thank for your responses, but I did rpm grep and found out that my
system did have

#rpm -qa|grep elf

elfutils-0.76-3
elfutils-libelf-0.76-3

Now I am really confused!

Please help

--
Hai Wang
Principal Software Engineer
Fine Point Technologies, Inc.
139 Centre Street, 6th Floor
New York, New York 10013-4408
email: hwang@finepoint.com
phone: +1.212.962.7410 x 326
fax: +1.212.962.7404
web: http://www.finepoint.com

-----Original Message-----
From: Daniel Lacey [mailto:daniel_p_lacey@yahoo.com]
Sent: Tuesday, August 29, 2006 3:10 PM
To: Hai Wang
Cc: net-snmp-users@lists.sourceforge.net;
net-snmp-coders@lists.sourceforge.net
Subject: Re: Issue on compiling 5.3.1 on redhat 9

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: hwang@finepoint.com
>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=...3057&dat=12164

2
>_______________________________________________
>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
>
>
>


-------------------------------------------------------------------------
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=...057&dat=121642
_______________________________________________
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


-------------------------------------------------------------------------
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=...057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders