[UCLA-LUG] share library problem
dannys@csua.ucla.edu
dannys@csua.ucla.edu
Wed, 2 Feb 2000 09:54:47 -0800
Stefanus Mantik <stefanus@cs.ucla.edu> wrote:
>its tcsh. And as you see from the sample, the LD_LIBRARY_PATH
>environment is already set (echo $LD...)
>
>>> $ echo $LD_LIBRARY_PATH
>>> /opt/oracle8.1.5/lib
>>>
This most likely isn't your problem. But for tcsh, it isn't
sufficient to do an "echo" test. Because tcsh also has two sets of
variables... (which can be set by set and setenv).
So if you do:
set a=foo
$a won't be an environment variable. But will resolve when you do:
echo $a
Instead, it's best to use:
env | grep ENV_VARIABLE
env is a program, so it can be used from any shell.
It's also a good way to know if a variable is exported from the bash
shells.