Description of problem: rpm 4.4.1 refuses to install/upgrade a package because the shared library dependencies it auto-generated do not match. Version-Release number of selected component (if applicable): rpm-4.4.1-1 How reproducible: Always. Steps to Reproduce: 1. Build acroread SRPM. (Spec file attached, source tarball at http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/AdbeRdr70_linux_enu.tar.gz) 2. Try to install it. 3. File bug. ;-) Actual results: # rpm -Uvh acroread-7.0-1.caos.i386.rpm error: Failed dependencies: libACE.so is needed by acroread-7.0-1.caos.i386 libACE.so(VERSION) is needed by acroread-7.0-1.caos.i386 libAGM.so is needed by acroread-7.0-1.caos.i386 libAGM.so(VERSION) is needed by acroread-7.0-1.caos.i386 libBIB.so is needed by acroread-7.0-1.caos.i386 libBIB.so(VERSION) is needed by acroread-7.0-1.caos.i386 libCoolType.so is needed by acroread-7.0-1.caos.i386 libCoolType.so(VERSION) is needed by acroread-7.0-1.caos.i386 libResAccess.so is needed by acroread-7.0-1.caos.i386 # rpm -q --provides -p acroread-7.0-1.caos.i386.rpm ...skip... libACE.so.2.07 libACE.so.2.07(VERSION) libAGM.so.4.14 libAGM.so.4.14(VERSION) libAXE16SharedExpat.so libAXE16SharedExpat.so(VERSION) libAXE8SharedExpat.so libAXE8SharedExpat.so(VERSION) libAXSLE.so libAXSLE.so(VERSION) libBIB.so.1.1 libBIB.so.1.1(VERSION) libCoolType.so.5.01 libCoolType.so.5.01(VERSION) ... Note the full SO version in the provides but not the requires. Expected results: Package should install properly.
Created attachment 113051 [details] Spec file
This is because the DSO does not contain a DT_SONAME, and relies on 5 year old fallback behavior that cannot be correctly inferred by the automagic elf dependency extractor in rpm. The right thing to do is to add a DT_SONAME to the DSO, but since this is acroread, well, disable the internal dependency generator, or otherwise generate the dependencies manually.