This is a discussion on Re: using net-snmp libs from RedHat RPMs within the SNMP Coders forums, part of the Networking and Network Related category; Subhendu Ghosh wrote: > I am trying to use the "net-snmp-config --libs" on a RedHat EL4 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Subhendu Ghosh wrote:
> I am trying to use the "net-snmp-config --libs" on a RedHat EL4 system > for program that uses the net-snmp headers and libs in autoconf. > > The above returns "-L/usr/lib -lnetsnmp -lcrypto -lelf -lm" > > Including -lelf seems to break all the make proccess... > > (I have seen similar results on other RH derived systems) > > Known bug? workaround? rtfm? Have you tried the suggestions from the FAQ? On RedHat 8.0 or up I get "/usr/bin/ld: cannot find -lelf"? ---------------------------------------------------------- A typical installation of RedHat 8.0 and up doesn't always include the full set of 'libelf' library links. In order to build Net-SNMP you may need to install the 'elfutils-devel' RPM. A alternative quick fix is to add the missing symbolic link, using: ln -s libelf.so.1 /usr/lib/libelf.so (or whatever the correct library is on your system). This is typically only needed when you've configured the agent to include the Host Resources MIB support ('--with-mib-modules=host'). +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|