[Ffmpeg-devel] [RFC] dlopen vs linking for external libraries
Tue Feb 13 15:12:30 CET 2007
Uoti Urpala wrote:
> On Mon, 2007-02-12 at 05:45 +0100, Luca Barbato wrote:
>> Uoti Urpala wrote:
>>> 1. Moving possible package dependencies to dlopen() when they're not
>>> necessary for every user would be a net loss for binary distributions,
>>> with some (rare) exceptions for huge libraries.
>> check sdl and X11...
> Check what about them?
sdl dlopens X11...
> Of course that would not gain anything either. And I'm not so confident
> you would always end up with the same behavior. Getting "the same
> deplist" (both for package dependencies and at runtime) is not quite
I don't know the other distribution or the other people, usually you
check the configure script and the readme to write the deplist, not just
random usage of ldd...
> obvious. Assuming you manage that I still wouldn't count on the end
> result being the same for every order of loading the libraries etc. And
> there would be at least some differences in any case (can't see the
> dependencies from the binaries themselves easily, can't prelink them).
Well having the ability to statically link would useful...
More information about the ffmpeg-devel