This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 79653 - rpm2html-1.8.1-1 links (needlessly) against libdb-3.1
rpm2html-1.8.1-1 links (needlessly) against libdb-3.1
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm2html (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Veillard
Depends On: 79654
  Show dependency treegraph
Reported: 2002-12-14 11:34 EST by Jeff Johnson
Modified: 2007-04-18 12:49 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-12-14 15:07:05 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 Jeff Johnson 2002-12-14 11:34:36 EST
rpm2html-1.8.1-1 links (needlessly) against libdb-3.1
from a compat package
Comment 1 Daniel Veillard 2002-12-14 12:10:21 EST
There is no way a rpm2html configure time to know the library needed
for the link. See bug #79654 for an easy way to solve this in a completely
generic fashion.
Comment 2 Jeff Johnson 2002-12-14 12:24:53 EST

What, you need a script to tell you *NOT* to link
against -loracle and every other library in the world?

Linking against -ldb3.1 from a compat package
is broken no matter what.

Linking against any Berkeley DB library in 7.2
and beyond is unnecssary.

Why don't you add /usr/bin/rpm-config to rpm2html
and just fix your package?
Comment 3 Daniel Veillard 2002-12-14 13:11:14 EST
Trivially this can't be done in rpm2html because the options are known only
by rpm configure script in a reliable fashion.
You're suggesting I do guess work to make my application link against your
library while the inforamtion needed is availble in an AUTOMATED way within
rpm configure. All library having minimal respect for the application builder
provide this kind of informations as well as a way to get the version of the
library. It's trivial for you to do it in an exact way. It's pure guess work
and hell to maintain in each and every application trying to use it. This is
so commonsense this should NOT have to be said, really !!!

Comment 4 Daniel Veillard 2002-12-14 15:07:05 EST
Removed the test for db-3.1, applied old 7.3 patch, this is a fix with will
work only on that version of Red Hat Linux. Should land in Rawhide soon.

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