Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 70199

Summary: net-snmp links to libelf
Product: [Retired] Red Hat Linux Reporter: Owen Taylor <otaylor>
Component: net-snmpAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: b-nordquist, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-17 11:39:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 67218, 79579    

Description Owen Taylor 2002-07-31 00:00:44 UTC
net-snmp checks for libelf in its configure script and links to it.

The apparent reason for this is that it wants to to use libelf
to poke around in /dev/kmem on some non-Linux systems.

Comment 1 Brent Nordquist 2002-12-07 00:29:46 UTC
Release -6 of the RPM has a patch from Florian that says it prevents the build
from trying to use -lelf (it replaces it with -llelf, which I guess is supposed
to make -lelf not found during configure).  However, during the build, it still
links with -lelf in the last step, which will fail if libelf-devel is not
installed (see bug 76086).  I think either 76086 needs to be implemented (so
libelf-devel is properly required during build), or this one should be
implemented (so libelf is truly not needed).

Comment 2 Phil Knirsch 2002-12-17 11:39:27 UTC
Fixed in net-snmp-5.0.6-9 rawhide build.