[gdal-dev] P.Halls@york.ac.uk,chaitanya.ch@gmail.com

Srikanth srikanth1947 at gmail.com
Mon Jul 20 05:50:33 EDT 2009


Dear All,

I am trying to build gdal library on windows using Cygwin with OCI support.
I have Oracle client installed on my machine and ORACLE_HOME is set. I
have enabled the oci support using --with-oci=yes and even provided
-include and -lib paths.
It is able to locate the include files but is not able to find the libraries.

error thrown:
----------------------------
checking if Expat XML Parser version is >= 1.95.0... yes
checking for SQLConnect in -lodbc... no
checking for SQLInstallDriverEx in -lodbcinst... no
checking for Oracle OCI headers in C:/oracle/product/10.2.0/client_2/rdbms/publi
c... yes
checking for Oracle OCI libraries in C:/oracle/product/10.2.0/client_2/lib... no
t found
checking if Oracle support is enabled... no
checking Checking for DODS... disabled
checking for curl-config... no
checking for SQLite3 library >= 3.0.0... not found
checking Checking for DWGdirect... disabled
configure: IBM Informix DataBlade not supported.
configure: checking whether we should include ESRI SDE support...
       ESRI SDE support not requested.


I have pasted config.log (as config.log is exceeding the file size
limit of 50KB , Icould not attach)  file for your reference. My
understanding by looking at the log file is it is not able to locate
libclntsh library.I am not able to find the equivalent library on
windows.

Any help in this regard is appreciated.

config.log :
------------------------------

configure:23652: checking for Oracle OCI headers in
C:/oracle/product/10.2.0/client_2/rdbms/public
configure:23695: g++ -c -g -O2
-IC:/oracle/product/10.2.0/client_2/rdbms/public
-IC:/oracle/product/10.2.0/client_2/rdbms/demo conftest.cpp >&5
configure:23701: $? = 0
configure:23714: result: yes
configure:23739: checking for Oracle OCI libraries in
C:/oracle/product/10.2.0/client_2/lib
configure:23775: g++ -o conftest.exe -g -O2
-IC:/oracle/product/10.2.0/client_2/rdbms/public
-IC:/oracle/product/10.2.0/client_2/rdbms/demo
-LC:/oracle/product/10.2.0/client_2/lib -lclntsh conftest.cpp -ljasper
-lhdf5 -ljpeg -ltiff -lpng -lz  -ldl  >&5
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
cannot find -lclntsh
collect2: ld returned 1 exit status
configure:23781: $? = 1


-- 
Regards,
Srikanth K.
www.servetheneedy.org


More information about the gdal-dev mailing list