Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340305 - app-arch/rpm-4.8.1 DEPENDs on =sys-libs/db-4.5*, but does not link to it
Summary: app-arch/rpm-4.8.1 DEPENDs on =sys-libs/db-4.5*, but does not link to it
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Stanislav Ochotnicky (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-10 00:00 UTC by Stelian Ionescu
Modified: 2011-04-24 15:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stelian Ionescu 2010-10-10 00:00:07 UTC
RPM appears to link to the most recent version of sys-libs/db present on the system, instead:

~ # ldd $(which rpm) | grep db
        libdb-4.8.so => /usr/lib/libdb-4.8.so (0x00007fa803464000)
Comment 1 Francis Galiegue 2010-10-24 08:47:54 UTC
I concur. I've been doing some research, and in the INSTALL file of the source, it says:

----
The Berkeley DB >= 4.3.x (4.5.x or newer recommended) is required for the
default database backend
----

So, I modified the ebuild in an overlay and changed the dependency "=sys-libs/db-4.5*" into ">=sys-libs/db-4.5". The result is an rpm binary linked against the same library as it was previously, and a fully functional rpm command (rpm -V, rpm -q, rpm -i, rpm -e, rpmbuild etc all work).

The ebuild should be modified for the dep above imho.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-04-24 14:51:43 UTC
Fixed without revision bump.