It appears your linker can't find libelf.so (-lelf looking for libelf). From what I can find on the RPM finder, its part of the systemtap-debuginfo RPM package. If it isn't included in the distribution disks you have, you can find it on rpm.pbone.net. You can do a search for systemtap-debuginfo and find it. As an alternative, have you considered pulling down an already packaged version of net-snmp? Many of the distributions include it in the package files but may not install it by default. There is a version of the 5.4.2.1 net-snmp package on rpm.pbone.net. A link to a non-denominational version is
http://rpm.pbone.net/index.php3/stat/4/idpl/10019917/com/net-snmp-5.4.2.1-1.f9.i386.rpm.htmlGiven this specifies "other" as the Linux edition, YMMV. There are a number of net-snmp rpm packages that are built specifically for RH, but I was unable to locate one on 5.4.2.1...
Hope that helps