This discussion is archived
3 Replies Latest reply: Nov 27, 2012 7:42 AM by 943610 RSS

Which OCI library to use for static linking with application on Unix, Linux

910885 Newbie
Currently Being Moderated
Hi Friends

I am new to OCI programming.

I am developing a C++ application that works on Windows 7 (32, 64 bit, VS-9) and Linux (32, 64 bit), with OCI- version and Oracle 10g Express edition.

I want to statically link OCI library in my application.

For Windows, I got oci.lib in the package:\instantclient_11_2\sdk\lib\msvc downloaded from [Instantclient download location.|] .

But, the instanclient packages & do not contain a static archive for OCI library.
These packages have only include files and following .so (shared libraries) for Linux:

Can someone please guide me, where can I find the static archive (possibly liboci.a or libociei.a) for OCI- - 32 & 64 bit?

Many thanks in advance for your time and kind guidance.

Best Regards,


  • Correct Answers - 10 points
  • Helpful Answers - 5 points