Re: OCI application for Oracle 9i / 10g

From: <kvmanoj_at_gmail.com>
Date: 10 May 2007 06:35:31 -0700
Message-ID: <1178804131.482070.314910_at_n59g2000hsh.googlegroups.com>


Hi,

[Quoted] I built my application using libclntsh.so.10.1 and its working fine on Oracle 10g.

But when I run it on Oracle 9i, it says "error loading shared library libclntsh.so.10.1" because Oracle 9i doesnot have that library.

Thanks,
Manoj

Mathias Waack wrote:
> kvmanoj_at_gmail.com wrote:
>
> > 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 ??
>
> An OCI app linked against 10g libs should work with 9i without any problems.
>
> Mathias
Received on Thu May 10 2007 - 15:35:31 CEST

Original text of this message