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

Florian Weimer fweimer at redhat.com
Sun Aug 2 08:54:17 UTC 2015


On 08/01/2015 09:25 PM, Jan Kratochvil wrote:

> https://bugzilla.redhat.com/show_bug.cgi?id=1249325
> 
> GDB requires some library libXXX.so.3 by dlopen().  Therefore it is not found
> by rpm automatic requires/provides from DT_NEEDED.  Therefore one has to add
> the libXXX.so.3 by specific BuildRequires and Requires to the .spec file.
> 
> libXXX is librpm here but that is just a coincidence, it could be libz for
> example.

Why do you use dlopen for such essential system libraries?  Why not link
to them directly?

-- 
Florian Weimer / Red Hat Product Security


More information about the devel mailing list