How to make .spec Requires for libXXX.so.VER

Ralf Corsepius rc040203 at freenet.de
Sun Aug 2 11:54:58 UTC 2015


On 08/02/2015 09:33 AM, Jan Kratochvil wrote:

> It was reworked from ordinary DT_NEEDED to this dlopen() approach because
> librpm.so is (was) the only incompatible shared library dependency between
> various versions of RHELs/CentOSes and Fedoras.  So with dlopen()ed librpm one
> can take latest Fedora Rawhide rpm build and run the GDB binary in
> RHEL/CentOS.  This makes sense for non-x86* archs where a rebuild of new GDB
> from sources would take too much time.

I still don't get it. If librpm's SONAME changes between Fedora 
releases, these libs will be call incompatible, no matter if they will 
be dlopen'ed or linked directly.

Ralf




More information about the devel mailing list