[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 10:26:20 PDT 2014


I downloaded and put instantclient-basic instantclient-sqlplus 
instantclient-sdk in one folder. I tried linux 32bit, windows x86 and 
also used lib2a tool (as.exe, dlltool.exe and reimp.exe) to convert 
*.lib with *.dll to *.a for mingw, but none of these methods is working: 
library not found


-------- Original Message  --------
Subject: Re: [gdal-dev] [EXTERNAL] Gdal 1.10.1 with OCI and ODBC doesn't 
compile right
From: Ivan Lucena <lucena_ivan at hotmail.com>
To: David Tran <david.tran at hsr.ch>, Smith, Michael ERDC-RDE-CRREL-NH 
<michael.smith at erdc.dren.mil>, gdal-dev at lists.osgeo.org 
<gdal-dev at lists.osgeo.org>
Date: Tuesday, 8. April 2014 16:04:40

> David,
>
> In order to compile the two Oracle driver you need to have in your
> system an OCI SDK installation appropriated for that
> plataform/environment. Here are the avaible downloads for Oracle Instant
> Client:
>
> http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html?ssSourceSiteId=ocomen
>
> Wish one are you trying to use?
>
> Regards,
>
> Ivan
>
>  > Date: Tue, 8 Apr 2014 09:44:37 +0200
>  > From: david.tran at hsr.ch
>  > To: Michael.Smith at erdc.dren.mil; gdal-dev at lists.osgeo.org
>  > CC: sfkeller at hsr.ch
>  > Subject: Re: [gdal-dev] [EXTERNAL] Gdal 1.10.1 with OCI and ODBC
> doesn't compile right
>  >
>  > 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
>  > >
>  > _______________________________________________
>  > 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