Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 85719 - Linking with '-lelf' fails
Linking with '-lelf' fails
Product: Red Hat Linux
Classification: Retired
Component: libelf (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2003-03-06 09:02 EST by Dave Shield
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-03-09 17:28:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Dave Shield 2003-03-06 09:02:10 EST
Description of problem:
Linking with '-lelf' fails due to the lack of a 'libelf.so' link

Version-Release number of selected component (if applicable):

How reproducible:

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
Comment 1 Jakub Jelinek 2003-03-09 17:28:42 EST
My guess is that you don't have libelf-devel installed.

Note You need to log in before you can comment on or make changes to this bug.