[gdal-dev] Problem Compiling with Oracle (--with-oci)

Howard Butler hobu.inc at gmail.com
Tue Jun 21 14:09:48 EDT 2011


On Jun 20, 2011, at 5:43 PM, Chris Hodgson wrote:

> I'm trying to compile GDAL/OGR with support for Oracle/OCI. I have the full oracle 11g server installed on CentOS 5.3.
> 
> # configure --with-oci=/opt/oracle/product/11.2.0/dbhome_1/
> # make
> ...
> libtool:.....
> g++: /ade/smayer_perl_510/perl_source/expat_home/lib/libexpat.so: No such file or directory
> 
> I think this path might be from the person who compiled the OCI libraries for oracle 11?

Yes, this is due to Oracle's inclusion of an ancient expat in their SDK. There's no headers there either, but it's too old to work with GDAL even if there was.  

> How can I get this to work?

not sure, I think I just fumbled through.


More information about the gdal-dev mailing list