1753830 Members
8717 Online
108806 Solutions
New Discussion юеВ

set path

 
Debasis Mishra
Occasional Advisor

set path

Hi Arun.
For _sqlcxt, where i will set this 2 path. i.e., LD_LIB_PATH and SHLIB_PATH
How and what will the path, please advice me with example.
5 REPLIES 5
Onur Karakan
Advisor

Re: set path

Hello Debasis,
You can find SHLIB_PATH file under /etc/ directory. You can add the LB_LIB_PATH variables to the .profile file under user home directory.
You may also add these line directly to the .profile file.

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$JAVA_HOME/lib:/usr/lib.

Best Regards,

Onur
Steven E. Protter
Exalted Contributor

Re: set path

Shalom Debasis,

These two variables are no commonly used in .profile, they are also modified in the start scripts of many of the oracle products.

usage:
SHLIB_PATH=SHLIB_PATH:/home/oracle

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Muthukumar_5
Honored Contributor

Re: set path

For 32 bit machine use SHLIB_PATH and for 64 bit machine use LD_LIB_PATH variable. Try to put into $HOME/.profile.

Read man ld for more details on this variables.

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: set path

To export the variable then simply as,

export SHLIB_PATH=$SHLIB_PATH::path2 etc.


export LD_LIB_PATH=$LD_LIB_PATH::path2 etc.


Put this line into $HOME/.profile file.

--
Muthu
Easy to suggest when don't know about the problem!
Debasis Mishra
Occasional Advisor

Re: set path

Muthu,SEP,Onur,
Thanks for Suggestion. I will try as per your advice. Then i will inform the result.