Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Linking with Oracle 9i and Oracle 10g
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:
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