Skip to Content
author's profile photo Former Member
Former Member

How to set the environment variable of csh


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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 29, 2014 at 01:49 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.