cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the environment variable of csh

Former Member
0 Kudos


Hello expert,

       I set the environment varibale of csh after I upgade the oracle 10.2.0.1 to 10.2.0.5. I added "setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/oracle/client/10x_64/instantclient" to profile ".dbenv_GVSHP101.csh" . But when I run env in my os , it showed LD_LIBRARY_PATH=/usr/sap/IDS/SYS/exe/run:/usr/sap/IDS/SYS/exe/uc/linuxx86_64:/oracle/IDS/102_64/lib:/oracle/client/10x_64/instantclient:/oracle/client/10x_64/instantclient

. There are two :/oracle/client/10x_64/instantclient in my environment varibale. I do not why. How can I set the environment? Thanks a lot.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hallo,

I don't know which O/S you are using and how your .dbenv-files looks.

However, as quick work around you could just add the following lines to the end of .dbenv_<hostname>.csh:

unsetenv LD_LIBRARY_PATH

setenv LD_LIBRARY_PATH /usr/sap/IDS/SYS/exe/run:/usr/sap/IDS/SYS/exe/uc/linuxx86_64:/oracle/IDS/102_64/lib:/oracle/client/10x_64/instantclient

Regards,

Thomas.

Answers (0)