OCI application for Oracle 9i / 10g

From: <kvmanoj_at_gmail.com>
Date: 10 May 2007 00:30:03 -0700
Message-ID: <1178782203.037553.203180_at_y5g2000hsa.googlegroups.com>



Hi,

I am developing an application which uses OCI to connect to Oracle 9i/ 10g databases.

On Windows, I am using "oci.dll" provided by Oracle 10g and built my application.
Application works fine(able to connect and fetch data) on Oracle 9i / 10g databases.

[Quoted] [Quoted] On Linux, "libclntsh.so" is the symbolic link which points to "libclntsh.so.9.0" on Oracle 9i
and "libclntsh.so.10.1" on Oracle 10g. These libraries are OCI libraries.

So when I build my application using "-lclntsh" option on Oracle 9i, I am not able to work deploying the application on 10g because my application is depending on "libclntsh.so.9.0" on which I compiled the application.

As of now, I have built my application for Oracle 9i and 10g separately.

Is there a way where only one application works on 9i and 10g ??

Manoj Received on Thu May 10 2007 - 09:30:03 CEST

Original text of this message