Static linking considered harmful

Olivier Galibert galibert at pobox.com
Wed Nov 22 19:10:50 UTC 2006


On Wed, Nov 22, 2006 at 07:59:15PM +0100, Tomas Mraz wrote:
> On Wed, 2006-11-22 at 18:08 +0100, Olivier Galibert wrote:
> > On Wed, Nov 22, 2006 at 11:34:14AM +0100, Arjan van de Ven wrote:
> > > actually static linking DECREASES that portability !!
> > 
> > On which planet ?
> > 
> > galibert at m71.limsi.fr:~/git/mmconfig #2 >git grep acpi_table_mcfg_config
> > git: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory
> > galibert at m71.limsi.fr:~/git/mmconfig #3 >cat /etc/redhat-release 
> > Fedora Core release 5 (Bordeaux)
> > 
> > T'was compiled on a 32bits fc3, shared, and I tried to use it on a
> > x86-64 fc5.  It is *extremely* hard to be sure that you have all the
> > compatilibity libraries for the previous versions of fc.
> 
> yum install openssl097a ?

For which the i386 version is not in core for x86-64, explaining why
I'm missing it (I do everything installs systematically, disk is
cheaper than time).


> But I agree that in other cases it is not always as easy as this one.

Especially since you don't know something is missing until some
application blows up when you try it.

  OG.




More information about the fedora-devel-list mailing list