Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: I HATE ORACLE LD_LIBRARY PATH - GRRR!!!

RE: I HATE ORACLE LD_LIBRARY PATH - GRRR!!!

From: Stephen Lee <Stephen.Lee_at_DTAG.Com>
Date: Thu, 16 Oct 2003 08:24:25 -0800
Message-ID: <F001.005D362C.20031016082425@fatcity.com>

If you want a "safe" way and you are using ksh, you can always use

${LD_LIBRARY_PATH:-/usr/lib}

in the list following the "=" sign.

That way, you always have something defined And when nothing is defined, /usr/lib is the default, so you really haven't changed anything by putting it in.

> -----Original Message-----
>
> Thanks Jared,
>
> Would
> > export
> LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:$LD_LIBRARY_PATH:
> > export LD_LIBRARY_PATH_64=$ORACLE_HOME/lib
>
> also be correct?
>
> -----Original Message-----
> Sent: Thursday, October 16, 2003 1:59 AM
> To: Multiple recipients of list ORACLE-L
>
>
> This one is incorrect:
>
> This one is correct:
> > export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
>
> The first one assumes that there is nothing else needed in
> the LD_LIBRARY_PATH. Could be you need some system libs to
> do your linking.
>
> Try doing "echo $LD_LIBRARY_PATH" to see what else is in it.
>
> Jared
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Stephen Lee
  INET: Stephen.Lee_at_DTAG.Com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Oct 16 2003 - 11:24:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US