[Gdal-dev] Problem building for Solaris w/Oracle driver

Howard Butler hobu at iastate.edu
Wed Oct 19 21:16:16 EDT 2005


Tom,

Your link is picking up the 64bit Oracle libs.  Is this what you 
want?  You might try putting $ORACLE_HOME/lib32 in front on the 
LD_LIBRARY_PATH to grab the 32bit Oracle client.

Howard

At 4:54 PM -0700 10/19/05, Tom Canales wrote:
>I've having problems building GDAL with the oracle driver.
>
>Environment:
>   GDAL: v 1.3.1
>   OS: Solaris 2.8
>   Oracle: 10.2.0
>
>As per the build instructions I ran:
>>  configure --with-oci=/oracle/product/10.2.0/db_1
>
>then
>>  gmake install
>
>everything compiled fine but I got the following linking error:
>
>ld: fatal: file /oracle/product/10.2.0/db_1/lib/libclntsh.so: wrong 
>ELF class: ELFCLASS64
>ld: fatal: File processing errors. No output written to .libs/libgdal.so.1.9.0
>collect2: ld returned 1 exit status
>gmake[1]: *** [libgdal.la] Error 1
>gmake[1]: Leaving directory `/usr/local/gdal-1.3.1'
>gmake: *** [check-lib] Error 2
>
>
>Any help would be appreciated,
>
>
>_______________________________________________
>Gdal-dev mailing list
>Gdal-dev at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/gdal-dev




More information about the Gdal-dev mailing list