Building with Oracle Database Instant Client

It is generally necessary to put the instant client directory (which holds the shared libraries) in your LD_LIBRARY_PATH or equivelent *before* running configure. Use the --with-oci-lib and --with-oci-include options to specifically indicate the include and library directories. Often something like:

    --with-oci-include=/home/warmerda/pkg/oracle_instantclient_11_2/sdk/include \

On Linux, if you are using the Instant Client and './configure' can not locate Oracle headers and libraries and throws in config.log a message saying:

/usr/bin/ld: cannot find -lclntsh

Then check if there is symbolic link with name in <PREFIX>/lib pointing to binary with name like ''. If it isn't there, create it using similar command to this:

$ ln -s /opt/instantclient_11_2/ /opt/instantclient_11_2/

Open Tickets

ogr2ogr can not support the -append mode when import the normal dbf file to oracle
Georaster: gdalinfo returns negative values for the Bounding Corners
Oracle driver writes to metadata table when reading
OCI driver Error ORA-21301 not initialized in object mode
oci - Add support for BLOB
OCI doesn't check unquoted tablename for OCI_PTYPE_VIEW
georaster - mask band error
OGROCITableLayer::SetFeature DESTROY previous record
Error KPEDBG_HDL_PUSH_FCPTRMAX : OCI thread - unsafety?

Last modified 6 years ago Last modified on May 4, 2011 1:28:50 PM

Attachments (1)

  • oci_valgrind_suppr.txt (780 bytes) - added by rouault 2 years ago. Suppression file for Valgrind. To be used with "valgrind --num-callers=20 --suppressions=oci_valgrind_suppr.txt"

Download all attachments as: .zip