Re: LD_LIBRARY_PATH in Ubuntu
- From: Leo Cacciari <leo.cacciari@xxxxxxxxx>
- Date: Fri, 29 Feb 2008 22:53:42 +0100
Il giorno ven, 29/02/2008 alle 21.41 +0100, Gerald Dachs ha scritto:
Am Fri, 29 Feb 2008 11:03:07 +0100
schrieb "Rutger van Haasteren" <rvhaasteren@xxxxxxxxx>:
[...snip...]AFAIK LD_LIBRARY_PATH is unset in ubuntu, since the libraries are all
You didn't set the path, at least not in the same session:
~$ export LD_LIBRARY_PATH=somedir
~$ echo $LD_LIBRARY_PATH
somedir
Gerald
where they should be:) If you install libraries in non-default
directories (which is avoidable by using stow...) you must indeed set
LD_LIBRARY_PATH. You may do it either on the spot, just before launching
the command either
~$ export LD_LIBRARY_PATH=somedir
~$ command
Or (better IMHO) as
~$ LD_LIBRARY_PATH=somedir command
Or you could set up the variable in your login script, adding
export LD_LIBRARY_PATH=somedir
to ~/.bash_profile
If you want the settings to be system wide, add the above line in
/etc/sysprofile.d/00Standard.bash
As the same file points out:
~$ cat /etc/sysprofile.d/00Standard.bash
# This here is for any settings you want. If the contents
# become too abundant consider separating them into single
# modules. Please do read "/usr/share/doc/sysprofile/README.usage"
# for further information. Sample modules can be found in the
# samples subdirectory "/usr/share/doc/sysprofile/examples/".
Enjoy
--
Leo 'TheHobbit' Cacciari
Attachment:
signature.asc
Description: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio firmata digitalmente
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: LD_LIBRARY_PATH in Ubuntu
- From: Richard Rudnick
- Re: LD_LIBRARY_PATH in Ubuntu
- References:
- LD_LIBRARY_PATH in Ubuntu
- From: Rutger van Haasteren
- Re: LD_LIBRARY_PATH in Ubuntu
- From: Gerald Dachs
- LD_LIBRARY_PATH in Ubuntu
- Prev by Date: Re: Replacement motherboard, renumbered NICs and dvd drives?
- Next by Date: Re: LD_LIBRARY_PATH in Ubuntu
- Previous by thread: Re: LD_LIBRARY_PATH in Ubuntu
- Next by thread: Re: LD_LIBRARY_PATH in Ubuntu
- Index(es):
Relevant Pages
|