Bug 15428 - Db2 Access always reports errors
Summary: Db2 Access always reports errors
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: db1
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-04 18:26 UTC by Need Real Name
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-08-21 00:34:12 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.