3 Replies Latest reply on Nov 27, 2012 3:42 PM by 943610

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

      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-sdk-nt-\instantclient_11_2\sdk\lib\msvc downloaded from [Instantclient download location.|http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html] .

      But, the instanclient packages instantclient-basic-linux- & instantclient-sdk-linux- 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,