[Ffmpeg-devel] [RFC] dlopen vs linking for external libraries

Diego Biurrun diego
Tue Feb 27 17:48:02 CET 2007


On Tue, Feb 27, 2007 at 08:13:46AM -0800, Roman Shaposhnik wrote:
> On Tue, 2007-02-27 at 10:33 +0100, Diego Biurrun wrote:
> > On Mon, Feb 26, 2007 at 05:15:07PM -0800, Roman Shaposhnick wrote:
> > > 
> > >   The problem is -- dynamic linking just doesn't scale. And anybody
> > > who disagrees with it should take a look at any application that
> > > has to work across different distributions to see that these guys
> > > have to lug around things like private versions of glib and the
> > > fact that these private versions are .so's hardly makes any difference
> > > because for all I care the application could've been statically 
> > > compiled with the same net effect.
> > 
> > What program except binaryware bull has to work across different
> > distributions?  And why would you want to link dynamically instead of
> > statically in this case?
>   
>   Any program for which your distribution doesn't build a package.
> And don't give me a "you can always build it from source 
> lecture" -- try building something like Mozilla, OpenOffice or even
> Scribus on your grandma's machine and then (once its finished in a
> couple of days) -- continue arguing. 

The solution for this in my eyes are statically linked binaries.  They
will save you from the hassle of incompatible dlopen libs as well..

Diego




More information about the ffmpeg-devel mailing list