f



Linking with Oracle 9i and Oracle 10g

Hi,

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

Thanks,
Iain

0
iwiseman1 (1)
11/14/2006 8:32:35 AM
comp.databases.oracle.server 22978 articles. 1 followers. Post Follow

1 Replies
880 Views

Similar Articles

[PageSpeed] 54

Iain William Wiseman <iwiseman@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:

a) link the software against Oracle 10

b) install an Oracle 9 client.

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

Yours,
Laurenz Albe
0
invite (481)
11/14/2006 12:09:07 PM
Reply: