[gdal-dev] [EXTERNAL] Gdal 1.10.1 with OCI and ODBC doesn't compile right

David Tran david.tran at hsr.ch
Tue Apr 8 00:44:37 PDT 2014


Hi Mike

I created these symlinks and 
--with-oci-include=/instantclient/sdk/include finds whatever it needs, 
but --with-oci-lib=/instantclient doesn't.

Cheers
David

-------- Original Message  --------
Subject: Re: [EXTERNAL] [gdal-dev] Gdal 1.10.1 with OCI and ODBC doesn't 
compile right
From: Smith, Michael ERDC-RDE-CRREL-NH <Michael.Smith at erdc.dren.mil>
To: David Tran <david.tran at hsr.ch>, gdal-dev at lists.osgeo.org 
<gdal-dev at lists.osgeo.org>
Date: Monday, 7. April 2014 20:33:31

> David,
>
> For using OCI with GDAL and --with-oci-lib, you need both oci-lib and
> oci-include
>
> For example:
>
> --with-oci-include=/home/oracle/local/instantclient_11_2
>    --with-oci-lib=/home/oracle/local/instantclient_11_2
>
> And for the lib, you need to symlink
>
> libclntsh.so.11.x -> libclntsh.so
> libocci.so.11.x  -> libocci.so
>
>
> Mike
>


More information about the gdal-dev mailing list