Bug 15428

Summary: Db2 Access always reports errors
Product: [Retired] Red Hat Linux Reporter: Need Real Name <luke>
Component: db1Assignee: Nalin Dahyabhai <nalin>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-08-21 00:34:12 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 Need Real Name 2000-08-04 18:26:52 UTC
Whenever any program tries to use the DB2 libraries (eg RPM -q) I get this
error:

  /usr/lib/rpm/rpmq: /lib/libdb.so.2: no version information available
(required by /usr/lib/librpm.so.0)

Comment 1 Jeff Johnson 2000-08-04 18:44:16 UTC
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?

Comment 2 Need Real Name 2000-08-05 16:00:50 UTC
No no, the DB1, 2 and 3 packages are installed.  Output of rpm -qf
/usr/lib/libdb1.so.2 gives:

/usr/lib/rpm/rpmq: /lib/libdb.so.2: no version information available (required
by /usr/lib/librpm.so.0)
db1-1.85-1.3


Comment 3 Jeff Johnson 2000-08-06 21:10:05 UTC
Performing "strip -R comment ..." twice results in all symbols being stripped.

Fixed in db1-1.85-2.

Comment 4 Jeff Johnson 2000-08-06 21:12:12 UTC
Oh yeah, this is a db1 problem, not a db2 problem (Yes I know that the soname of
"libdb.so.2" is
confusing).

Comment 5 Brock Organ 2000-08-21 00:34:08 UTC
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
directory

Comment 6 Jeff Johnson 2000-10-06 21:38:56 UTC
This is now fixed by having rpm explictly
	Require: db1 = 1.85
which will cause the correct db1 package to satisy the soname dependency.