[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Re: Dumb newby installation problem



On Friday, July 25, 2003, at 06:41  AM, Bill Sloman wrote:

Today's problem is finding a place to add /root/geda/bin to the PATH variable, so that it stays added from session to session. The bash profile in my home directory looks as if it is the right place, and tagging it on the PATH= line seems to work, but adding LD_LIBRARY_PATH=/root/geda/lib in the same file doesn't seem to work.
You might add the line 'export LD_LIBRARY_PATH' to .profile (or .bash_profile, whichever you are editing).

The thing is that the PATH variable is already exported, but usually LD_LIBRARY_PATH is not. It's kind of like the difference between a local and a global variable-- if you don't export a variable to the environment, it's only available inside the current shell script, and it doesn't affect other programs spawned by the script.

HTH,

--
Charles Lepple <clepple@ghz.cc>
http://www.ghz.cc/charles/