> Iam using ucd-snmp-4.2.6 . When I do a 'make' in the agent directory I
> get the following error message - 

> /usr/bin/ld: cannot find -lelf


Yes - recent versions of RedHat don't seem to include the
"version-independent" softlink for libelf.so
(or at least, only in a relatively obscure development RPM)

Try the following:

        ls -l /usr/lib/libelf*

This should list one library and (probably) one or more symbolic links.
Ignore the links, and make a note of the name of the real file.
It should be something like
                "libelf-0.76.so"

Then do
        ln -s libelf-0.76.so  /usr/lib/libelf.so
        ldconfig

(but using the correct version-name for your system).

That should allow things to compile properly.

Dave



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.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

Reply via email to