wiki:Oracle

Oracle

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:

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

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 libclntsh.so in <PREFIX>/lib pointing to binary with name like 'libclntsh.so.X.Y'. If it isn't there, create it using similar command to this:

$ ln -s /opt/instantclient_11_2/libclntsh.so.11.1 /opt/instantclient_11_2/libclntsh.so

Open Tickets

#3131
ogr2ogr can not support the -append mode when import the normal dbf file to oracle
#4093
Georaster: gdalinfo returns negative values for the Bounding Corners
#4694
Oracle driver writes to metadata table when reading
#5083
OCI driver Error ORA-21301 not initialized in object mode
#5348
oci - Add support for BLOB
#5552
OCI doesn't check unquoted tablename for OCI_PTYPE_VIEW
#5621
georaster - mask band error
#5687
OGROCITableLayer::SetFeature DESTROY previous record
#6197
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 Even Rouault 3 years ago. Suppression file for Valgrind. To be used with "valgrind --num-callers=20 --suppressions=oci_valgrind_suppr.txt"

Download all attachments as: .zip