Bug 51967

Summary: rpm-4.0.3-0.?? broke backward compat (librpmxx.so.0)
Product: [Retired] Red Hat Raw Hide Reporter: Miguel Freitas <miguel>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-17 17:13:35 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 Miguel Freitas 2001-08-17 17:13:32 UTC
Description of problem:
RPM-4.0.3-0.88 (and earlier?) doesn't provide the files:

librpm.so.0
librpmbuild.so.0
librpmio.so.0

Breaking backward compatibility with already compiled programs.
I installed kde-2.2 (that ships an rawhide rpm lib) and had
to remove rpmfind, gnorpm among others. red-carpet doesn't work anymore.


Version-Release number of selected component (if applicable):
4.0.3-0.88

How reproducible:
Always

Steps to Reproduce:
1.install kde-2.2 over a rh-7.1

Them already compiled rpm progs will not work anymore.


 I think it's fine to put version on the library names
(eg. librpm-4.0.3.so), but please maintain some compatibility
with compiled apps were possible...
librpm.so.0 were provided since version 3 up to 4.0.3
found at ftp.rpm.org.

Comment 1 Jeff Johnson 2001-08-17 17:23:14 UTC
Yup.

This (and 2 other changes) was announced on rpm-list, grab the text from the
archives
at http://listman.redhat.com. Basically, rpm shared libraries have never been
backward compatible. In rpm-4.0.3, the rpmdb API moved to librpmdb.so.0,
and, since librpm.so.0 is not linked against other libraries, breaks
compatibility
anyways. There are deeper problems than library linkage as well ...