Tuesday, January 09, 2001, 2:41:44 AM, you wrote:
JRS> I installed the Mesa Opengl package and in the README file is proposed
the
JRS> lib path $TOP/lib become the enviroment variable LD_LIBRARY_PATH. Well, when
JRS> I try the following:
JRS> # setenv LD_LIBRARY_PATH $TOP/lib
JRS> I got:
JRS> bash: setenv: command not found
JRS> otherwise, I run the following:
JRS> # env LD_LIBRARY_PATH $TOP/lib
JRS> I got:
JRS> env: LD_LIBRARY_PATH: No such file or directory
JRS> My question is:
JRS> How to set the enviroment var. LD_LIBRARY_PATH?
JRS> thanks very much any help!
JRS> ze
setenv and env are for C shell I guess,
and another guess, you are using the default shell bash
use
export WHAT_YOU_WANT_TO_SET=WHAT_VALUE_YOU_WANT_TO_GIVE --> to set ( or use "set"
instead of
"export" , dont remember if it was working too)
set | grep WHAT_YOU_WANT_TO_SET --> will show you if you set it
correct or not.
ps: bash is not so happy with spaces , so be keen on using XXX=YYY
instead of XXX = YYY
ps: if you do a "set |grep xxxxx" and see "_=xxxxx" then you " could
not succeed" , this is because you used export instead of set, or vice
versa. ( dont worry, it wont hassle things :)
Onur
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com