Description of problem: Linking with '-lelf' fails due to the lack of a 'libelf.so' link Version-Release number of selected component (if applicable): libelf-0.8.2-2 How reproducible: Very Steps to Reproduce: 1. Retrieve and unpack net-snmp tarball 2. ./configure --with-mib-modules=host 3. make [There are almost certainly simpler ways to reproduce this behaviour!] Actual results: gcc .... -o snmpd ...... -lelf ..... /usr/bin/ld: Cannot find -lelf Expected results: Should compile the agent correctly Additional info: Fixed by ln -s libelf.so.0.8.2 /usr/lib/libelf.so
My guess is that you don't have libelf-devel installed.