[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: link_all_deplibs feature

From: Bob Friesenhahn
Subject: Re: link_all_deplibs feature
Date: Sat, 8 Sep 2007 09:08:40 -0500 (CDT)

On Sat, 8 Sep 2007, Alexander Leidinger wrote:
Say I'm an innocent user that wants to try out one of your package
on my system where I don't have root privileges.  That's very common.
I can only install in directories neither the runtime linker nor the
link editor will search by default.

That's the typical example of the use of LD_LIBRARY_PATH. I assume this
not only works without libtool, but even with libtool...

LD_LIBRARY_PATH is evil. Lots of software is installed outside of "system approved" areas and not just for "personal" trial use. It needs to be possible to properly install software without needing to update each system's runtime search path and definitely without using a personal "user" variable like LD_LIBRARY_PATH.

I have worked in networked environments where several thousand workstations used the network to access open source packages which were not installed in locations ordained by the OS vendor. Often the location of these packages was project specific, with many on-going projects in the company.

I have also worked in environments where it was expected that the user needed to set LD_LIBRARY_PATH in order to find libraries, only to find out that it does not work since similar libraries provided by different packages conflict.

Bob Friesenhahn
GraphicsMagick Maintainer,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]