[gdal-dev] Compiling GDAL --with-oci

Iván Sánchez Ortega ivan at sanchezortega.es
Fri Jun 4 04:37:59 EDT 2010


Hi all,

I'm trying to compile GDAL with Oracle support.

I'm using a Debian box, with the "oracle-xe-client" package installed 
from the Oracle repo ("deb http://oss.oracle.com/debian unstable main 
non-free"). Version is 10.2.0.

The GDAL source files are a fresh SVN checkout from two days ago.


The problem:

Running "./configure --with-oci" results in the following:

checking for Oracle OCI headers in 
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public... 
header not found


However, that directory (which is inside $ORACLE_HOME) does indeed 
contain headers:

ivan at debian:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/public$ 
ls -l
total 1460
-rw-r--r-- 1 oracle dba  33230 feb 24  2006 nzerror.h
-rw-r--r-- 1 oracle dba  85310 feb 24  2006 nzt.h
-rw-r--r-- 1 oracle dba  11600 feb 24  2006 occiAQ.h
-rw-r--r-- 1 oracle dba  38630 feb 24  2006 occiCommon.h
(etc)


What should I do now? Does GDAL not support linking against Oracle 10.2.0?

Best,
-- 
Iván Sánchez Ortega <ivan at sanchezortega.es>


More information about the gdal-dev mailing list