Setting environment variables for libraries
Tyler Aviss
tjaviss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Mon May 17 20:32:08 UTC 2010
I believe you can just add a custom config to /etc/ld.so.conf.d (gee,
everything seems to be going with directory-includes these days).
Something like
/etc/ld.so.conf.d/custom.conf, containing
# Begin custom.conf
/usr/local/lib
# End custom conf
(and then run "ldconfig" after)
On Mon, May 17, 2010 at 11:25 AM, Thomas Milne
<tbrucemilne-TcoXwbchSccMMYnvST3LeUB+6BGkLq7r at public.gmane.org> wrote:
> Now that I'm using Debian I _try_ to do things the proper way, so
> right now I'm trying to set it up so that I can use some custom built
> libs in /usr/local.
>
> I checked in ld.so.conf and ld.so.conf.d, not sure what to mess with
> in there, or if I even should.
>
> I'm thinking this is one of those things I can 'set', but I"ve never
> done this before.
>
> Is it safe to just run something like LD_LIBRARY_PATH=/usr/local/lib,
> or will I make things worse?
>
> --
> TBM
> --
> The Toronto Linux Users Group. Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>
--
Tyler Aviss
Systems Support
LPIC/LPIC-2/CLA
“Even enemies will help each other if they are together on a boat that
is in trouble. ” – Sun Tzu
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list