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: Linking with Oracle 9i and Oracle 10g

Re: Linking with Oracle 9i and Oracle 10g

From: Laurenz Albe <invite_at_spam.to.invalid>
Date: 14 Nov 2006 12:09:07 GMT
Message-ID: <1163506146.430001@proxy.dienste.wien.at>


Iain William Wiseman <iwiseman_at_fred.co.nz> wrote:
> I want to use software built against Oracle 9i on an Oracle 10g database.
>
> I am using g++ on Solaris 9 with Oracle 9i to build the code. Doing an
> ldd shows
>
> libclntsh.so.9.0 => /u01/app/oracle/product/9.2.0.4/lib32/libclntsh.so.9.0
>
> Is there a way not to have the binary not expect the .so.9.0 i.e. it
> just accept libclntsh.so. I am soft linking at the moment as workaround
>
> i.e. ln -s libclntsh.so.10.2.0 libclntsh.so.9.0

That soft link is a very bad idea.

There are two good solutions:

  1. link the software against Oracle 10
  2. install an Oracle 9 client.

While a) may not always be possible, there's nothing to keep you from b).

Yours,
Laurenz Albe Received on Tue Nov 14 2006 - 06:09:07 CST

Original text of this message

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