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 <[email protected]>
To: David Tran <[email protected]>, [email protected] <[email protected]>
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

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to