Bug 130252 - net-snmp-devel should depend on elfutils-libelf-devel
Summary: net-snmp-devel should depend on elfutils-libelf-devel
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: net-snmp (Show other bugs)
(Show other bugs)
Version: 3.0
Hardware: All Linux
Target Milestone: ---
Assignee: Radek Vokal
QA Contact:
Depends On:
Blocks: 156320
TreeView+ depends on / blocked
Reported: 2004-08-18 14:55 UTC by Samuel Stringham
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version: RHSA-2005-373
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-28 14:25:08 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:373 qe-ready SHIPPED_LIVE Low: net-snmp security update 2005-09-28 04:00:00 UTC

Description Samuel Stringham 2004-08-18 14:55:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040114 Epiphany/1.0.7

Description of problem:
net-snmp-devel depends on elfutils-libelf-devel.  If net-snmp-devel is
installed, and elfutils-libelf-devel is not, then any program relying
on 'net-snmp-config --external-libs' to produce a valid linker path
will break.

I found this while compiling php with the snmp portion enabled. 
Instead of putting a buildrequires in the new PHP RPM, I suggest we
make net-snmp-devel depend on elfutils-libelf-devel.

# rpm -ql net-snmp-devel | grep bin | grep config

# /usr/bin/net-snmp-config --external-libs
-lcrypto -lelf -lm

# ld -lcrypto -lelf -lm
ld: cannot find -lelf

# rpm -qa | egrep 'elfutils|snmp'

If this is not enough information, or a better resolution is in order,
please feel free to contact me at the email address provided.

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

How reproducible:

Steps to Reproduce:
This is on our default kickstart, and can be reproduced by removing
all the packages, and running 'up2date -u net-snmp-devel' and letting
up2date resolve the dependencies.

Comment 1 Radek Vokal 2004-09-08 08:18:01 UTC
Will be fixed in new rawhide net-snmp-5.1.2-4

Comment 2 Samuel Stringham 2004-12-25 19:23:03 UTC
This bug was not fixed in the recent update set.  Will it be fixed in
the ES3 line of servers?

I only ask because if it isn't, I will have to set a specific
BuildRequires in each of the SRPMs we use here.

The bug is still present in:

# rpm -qa | egrep 'elfutils|snmp'

Comment 3 Radek Vokal 2004-12-27 08:13:03 UTC
I will propably push it to RHEL-3 with some more serious bug fix. I'll
post the version in this thread. 

Comment 5 Radek Vokal 2004-12-27 12:52:13 UTC
Ok, latests news, net-snmp-5.0.9-2.30E.14 fixes this bug .. 

Comment 8 Red Hat Bugzilla 2005-09-28 14:25:08 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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