Download
- Get the lastest package from sourceforge : version 3.12.1 (2013-03-04)
Installation
Windows platforms
- unzip the archive
- copy ocilib\include\ocilib.h to any place located in your include’s path
- copy ocilib\lib32|64\ocilib[x].lib to any place located in your libraries path
- copy ocilib\lib32|64\ocilib[x].dll to any place located in your windows path
GNU (Unix / Linux) platforms
- untar the archive
- $ cd ocilib-x.y.z
- $ ./configure
- $ make
- $ make install (you might need to `su` to make install)
Make sure Oracle and OCILIB libraries paths are defined in your shared library environment variable
You need to provide extra configure parameters when using Instant Clients – see Installation section)
Compatibilities
- Current sources are pure ISO C and should compile with any C90 compliant compiler
- Validated platforms : Windows, Linux, HP/UX, Solaris, AIX, Mac OS X, OpenVMS
- Validated compilers : Microsoft C/C++ compilers, GCC, MinGW, IMB XLC, LabView, various CCs
- Validated Oracle versions : 8i, 9i, 10g, 11g