Red Hat Bugzilla – Bug 15428
Db2 Access always reports errors
Last modified: 2008-05-01 11:37:57 EDT
Whenever any program tries to use the DB2 libraries (eg RPM -q) I get this
/usr/lib/rpm/rpmq: /lib/libdb.so.2: no version information available
(required by /usr/lib/librpm.so.0)
Um, first of all this is a db1 library, not a db2 library (yes the "libdb.so.2"
soname is confusing).
Have you, per chance, not installed the db1 package? What does
rpm -qf /usr/lib/libdb1.so.2
have to say?
No no, the DB1, 2 and 3 packages are installed. Output of rpm -qf
/usr/lib/rpm/rpmq: /lib/libdb.so.2: no version information available (required
Performing "strip -R comment ..." twice results in all symbols being stripped.
Fixed in db1-1.85-2.
Oh yeah, this is a db1 problem, not a db2 problem (Yes I know that the soname of
this still fails during a 5.2 -> Winston RC-2 upgrade:
this is using db1-1.85-4.i386.rpm
% rpm -qa
/usr/lib/rpm/rpmq: error while loading shared libraries: libdb.so.2: cannot open
shared object file: No such file or
This is now fixed by having rpm explictly
Require: db1 = 1.85
which will cause the correct db1 package to satisy the soname dependency.