On 08/02/2015 09:33 AM, Jan Kratochvil wrote:
It was reworked from ordinary DT_NEEDED to this dlopen() approach
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.