Can't set LD_LIBRARY_PATH in .gnomerc

Shixin Zeng shixinzeng at gmail.com
Mon Apr 25 16:21:11 UTC 2005


A system-wide LD_LIBRARY_PATH variable is equal to add the path to
/etc/ld.so.conf
And for system-wide environment variable, you could write it to /etc/environment

It seems not to answer your question why can't set in ~/.gnomerc. But
they are alternative ways to get equal function.

On 4/24/05, James Carroll <mrmaple at gmail.com> wrote:
> Hi, I'd like to set my LD_LIBRARY_PATH in .gnomerc, but something is
> clearing it after I set it.  I'm trying to make it so that I can run
> wxPython scripts from Nautilus launchers (notice no bash shell
> involved here.) and I want to point LD_LIBRARY_PATH to the particular
> development modules I want it to use.
> 
> My work-around at the moment is to create my own python executable in
> /usr/local/bin/python  that sets LD_LIBRARY_PATH and then invokes the
> real python... but having to rely on local being earlier in the PATH
> is kinda sketchy.
> 
> Thanks,
> -Jim
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 


-- 
Best regards

Shixin Zeng




More information about the ubuntu-users mailing list