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

Home -> Community -> Usenet -> c.d.o.server -> Re: AIX 5L Ora 10g library env vars question

Re: AIX 5L Ora 10g library env vars question

From: Matthias Hoys <idmwarpzone_NOSPAM__at_yahoo.com>
Date: Sat, 25 Jun 2005 21:34:11 +0200
Message-ID: <42bdb1b5$0$24272$ba620e4c@news.skynet.be>

<pete_usenet_at_yahoo.com> wrote in message news:1119654029.991944.4910_at_g14g2000cwa.googlegroups.com...
>I notice that on my new pSeries AIX 5L/5.2 box
> that there are no library environment variables
> defined by default.
>
> The vars I'm talking about are LIBPATH and
> LD_LIBRARY_PATH. If I login as oracle (or even root)
> those env vars are undefined.
>
> I'm guessing that reasonable values for them would be:
> export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:/usr/lib
> export LIB_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:/usr/lib
>
> Any suggestions here?
>
> I'm sure that there will be programs that need to
> know where the .so and .a files are located, no?
>
> Thanks,
> Pete
>

I don't think it's mentioned in the installation guide for UNIX systems but this is from the administrator's guide for UNIX systems :

"You might receive one of the following error messages when starting an executable:

On AIX systems:

$ sample1
exec(): 0509-036 Cannot load program ./sample1 because of the following errors:
0509-022 Cannot load library libclntsh.a [shr.o] 0509-026 System error: A file or directory in the pathname does not exist.

If you receive one of these error messages, set one of the following environment variables, depending on your platform:

Platform Environment Variable Sample Setting AIX (64-bit applications) LIBPATH $ORACLE_HOME/lib AIX (32-bit applications) LIBPATH $ORACLE_HOME/lib32"

HTH
Matthias Received on Sat Jun 25 2005 - 14:34:11 CDT

Original text of this message

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