Bug 85719 - Linking with '-lelf' fails
Summary: Linking with '-lelf' fails
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: libelf (Show other bugs)
(Show other bugs)
Version: 8.0
Hardware: All Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-03-06 14:02 UTC by Dave Shield
Modified: 2008-05-01 15:38 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Dave Shield 2003-03-06 14:02:10 UTC
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

Comment 1 Jakub Jelinek 2003-03-09 22:28:42 UTC
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.