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

Smith, Michael ERDC-RDE-CRREL-NH Michael.Smith at erdc.dren.mil
Mon Apr 7 11:33:31 PDT 2014


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

-- 
Michael Smith

Remote Sensing/GIS Center
US Army Corps of Engineers



On 4/7/14  2:22 PM, "David Tran" <david.tran at hsr.ch> wrote:

>Hello again
>
>Gdal 1.10.1 compiles fine so far with mingw-builds and i686-w64-mingw32
>flags.
>
>About OCI I already tried this:
>
>http://trac.osgeo.org/gdal/wiki/BuildingOnUnix
>https://trac.osgeo.org/gdal/wiki/Oracle
>
>with those (v10-12):
>
>http://www.oracle.com/technetwork/topics/winsoft-085727.html
>http://www.oracle.com/technetwork/topics/linuxsoft-082809.html
>
>and it doesn't recognize --with-oci-lib. What am I missing? What files
>is gdal expecting there?
>
>
>About ODBC I compiled unixODBC but gdal configure deactivates curl and
>proj. What is wrong here?
>
>
>Thanks in advance.
>David
>_______________________________________________
>gdal-dev mailing list
>gdal-dev at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list