Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: LD_LIBRARY_PATH in multi-home environment
EdStevens wrote:
> Just started my new job, and definately hit the ground running!
>
> Platform: Solaris 5.9
>
> We just installed Oracle 10.2 EE on a server that already has 8.1.7.4
> installed. This is my first time to actually get my hands on a
> multi-home box. Seeing how oraenv is handling PATH, ORACLE_HOME and
> ORACLE_SID ok, but have a question about LD_LIBRARY_PATH. It remains
> hard-coded to
> /db01/app/oracle/product/8.1.7/lib:/db01/app/oracle/product/8.1.7/ctx/lib
>
> Anything I should do with this?
>
> This box will have one 8.1.7.4 database and a couple of 10.2 db's.
>
Most people ( ok many people ) prefer to have a separate set of scripts and have these scripts set/export ONLY the correct set of bin's and libraries for each separate release levels.
So that way you don't combine stuff from ( say ) 8.1.7.4 and 10.2 and have them in the same PATH, LD_LIBRARY_PATH, etc.
When you are operating on/administering the 8.1.7.4 db you have only the stuff in effect for that environment ( release level ), when you are using 10.2 the same thing.
This can prevent many problems.
I have seen places that attempted to have one set of scripts where sometimes one set of stuff is first then another release level 2nd ( then switch those things for administering the other release ). Not saying it cannot work but messy at best. Received on Mon Apr 17 2006 - 14:51:36 CDT