Template:FAQ:Compiling 03
From Net-SNMP Wiki
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'
).