Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 287218

Summary: apache-tools fails to build with sys-libs/db-4.8.24
Product: Gentoo Linux Reporter: Robert Bradbury <robert.bradbury>
Component: [OLD] ServerAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: N/A
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert Bradbury 2009-10-01 10:10:41 UTC
In particular it fails to build at least "htpasswd" because the command to load it includes an explicit "-ldb-4.7".  I am in the process of de-installing various versions of db 

Reproducible: Always

Steps to Reproduce:
1. emerge --unmerge (<) sys-libs/db-4.8.24, e.g. sys-libs/db-4.7.25_p4 and earlier
2. emerge apache-tools
3. emerge fails

Actual Results:  
Emerge fails with:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldb-4.7

Expected Results:  
Emerge should work.

(a) If apache-tools requires a db of a specific version then the ebuild should have a dependency that requires that it be installed.  (b) Outdated versions of db should not be "required" (assuming recent versions provide upward compatibility).  The ebuild / configure components of other packages issue commands to determine which "sys-libs/db" is the active (most recent) version and use that with load commands.
Comment 1 Rafał Mużyło 2009-10-01 14:09:35 UTC
Did you rebuild apr-util before building apache-tools ?
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-02 19:53:14 UTC

*** This bug has been marked as a duplicate of bug 285522 ***