Bug 11261
Summary: | Configure/Build Issue : rpm-3.0.4 | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Peter Bray <peter_darren_bray> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | ||
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: | 2000-05-10 18:04:16 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: |
Description
Peter Bray
2000-05-06 05:38:44 UTC
Also in gcc-2.95.2 (as would be expected) The routine dbopen is available only if you have installed libdb with db-1.85 compatibility enabled (rpm uses a db-1.85 API, not a db-2.x API). As I stated in the summary its an autoconf/automake issue, as by rearranging the to the gcc cmdline I can get it to link (ie I built db-2.x correctly with 1.x support). But gcc ..... -ldb -L/path/to/lib is not the same as gcc ..... -L/path/to/lib -ldb Hence the command line being constructed by Auto* is incorrect. The $(LIBS) must be before the -ldb in order for the link to succeed. Regards Peter Ahh, I see. Thanks for the correction, I will try to fix when I get to portability testing on solaris. rpm-4.0.3 has an internal copy of db-3.3.x, so the path to the Berkeley DB library is no longer an issue. |