Red Hat Bugzilla – Bug 66698
package db1 does not enable "-ldb1" linking
Last modified: 2013-07-02 18:55:48 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020612
Description of problem:
According to the usual semantics, one would expect that
* the "db1" package is usefull to execute applications linked with -ldb1 and
link binary object files (or libraries) together to an application with "-ldb1"
* the "db1-devel" package is usefull to _compile_ sourcecode that makes use of
the Berkeley DB interface.
The packages as they stand now allow only execution with the "db1" package.
Linking and compilation depend on the "db1-devel" package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.install "db1", deinstall "db1-devel"
2.try to link an application where one of the constituents (i.e. gnome
libraries) needs db1. Try for instance to compile recent galeon SRPM.
3.Get a linker error: "cannot find -ldb1"
Actual Results: Linking not possible because linker can't find libdb1.so or
Notice that no db1 _header_files_ are involved.
Expected Results: Linker should find libdb1.so and link.
Fix: in the "db1" package, include the link /usr/lib/libdb1.so ->
/usr/lib/libdb1.so.2 which currently resides in "db1-devel"
This problem doesn't seem to happen with more recent db version (db4).