Bug 79653

Summary: rpm2html-1.8.1-1 links (needlessly) against libdb-3.1
Product: [Retired] Red Hat Raw Hide Reporter: Jeff Johnson <jbj>
Component: rpm2htmlAssignee: Daniel Veillard <veillard>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: i-kitayama
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-14 20:07:05 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: 79654    
Bug Blocks:    

Description Jeff Johnson 2002-12-14 16:34:36 UTC
rpm2html-1.8.1-1 links (needlessly) against libdb-3.1
from a compat package

Comment 1 Daniel Veillard 2002-12-14 17:10:21 UTC
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 17:24:53 UTC
Sophistry.

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 18:11:14 UTC
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 !!!

Daniel

Comment 4 Daniel Veillard 2002-12-14 20:07:05 UTC
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.