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-18.104.22.168 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-22.214.171.124.0.zip\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-126.96.36.199.0.zip & instantclient-sdk-linux-188.8.131.52.0.zip 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-184.108.40.206 - 32 & 64 bit?
Many thanks in advance for your time and kind guidance.
Actually, you can link to all *.a files in $ORACLE_HOME/lib
EXCEPT: libclntst11.a and libexpat.a