[olug] Installing software under /usr/local

Phil Brutsche phil at brutsche.us
Fri Feb 28 15:41:32 UTC 2003


Matthew G. Marsh wrote:
> On Wed, 26 Feb 2003, Jonathan Warren wrote:
> 
> 
>>I install my new apps to there own directory usually under opt.  I use
>>/usr/local for testing just because most configure scripts default to
>>there.  Instead of adding all the apps to your path you may want to use
>>symbolic links from the /usr/local/app/bin/appname to /usr/local/bin.
>>
>>The only exception would be a library that needs to be available to more
>>than one application.  They still need to be in the system library path.
> 
> 
> Nyet. Now we espose the beauty of two system library usage methodologies
> (of course pertaining mostly to Linux).
> 
> 1: LD_LIBRARY_PATH - an ancient Unix construct that provides a method for
>                      using libraries without adding them in any way to
>                      global library paths.
> 
> 2: ld.so.conf - a file on Linux (and versions/similar constructs within
>                 other Unices) that allows adding shared library search
>                 paths (simple thought)

You forgot one:

3: rpath - The embedding of the library search path within the
            executable at link time

-- 

Phil Brutsche
phil at brutsche.us




More information about the OLUG mailing list