Re: LD_LIBRARY_PATH in Ubuntu




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...]
You didn't set the path, at least not in the same session:
~$ export LD_LIBRARY_PATH=somedir
~$ echo $LD_LIBRARY_PATH
somedir

Gerald


AFAIK LD_LIBRARY_PATH is unset in ubuntu, since the libraries are all
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


Relevant Pages

  • Re: Monitoring and Alerts
    ... settings network configuration, firewall configuration, and secure website ... Type the following command to re-register the WMI DLLs: ... |> Relay settings for Exchange SMTP Virtual Server: ... | we pursue the performance alerts issue further. ...
    (microsoft.public.windows.server.sbs)
  • Re: Antwort: Re: high paging and slow DB2-database. Please contro l my configur ation
    ... Updating environment settings for a partitioned DB2 ... installation ... parameters, enter the following command: ...
    (AIX-L)
  • Re: Unidata on Unix SP-ASSIGN ? command
    ... it performs a SETPTR operation using SP-ASSIGN syntax ... You can interrogate the current setting of any print unit assigned to ... SETPTR will show you the print settings on print ...
    (comp.databases.pick)
  • Re: SDSF - COMMAND INPUT ===> question
    ... Type the word SETTINGS on the command line, ... This will bring up the IPSF Settings panel: ... ISPF Settings ...
    (bit.listserv.ibm-main)
  • Re: Any way to Format "MsgBox()"
    ... Only if you change the master settings for the message box for all ... Add a Label control and a Text control as well as 2 command buttons. ... TextControlName = 1 ... Dim strMessage as String ...
    (microsoft.public.access.gettingstarted)