Oracle
- http://gdal.org/ogr/drv_oci.html - format docs.
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
No results
Attachments (1)
-
oci_valgrind_suppr.txt
(780 bytes
) - added by 10 years ago.
Suppression file for Valgrind. To be used with "valgrind --num-callers=20 --suppressions=oci_valgrind_suppr.txt"
Download all attachments as: .zip