[Gdal-dev] Oracle-bindings

Stephan Holl sholl at gmx.net
Thu Nov 17 05:12:00 EST 2005


Hello Ethan, 

On Wed, 16 Nov 2005 09:27:35 -0700 "Ethan Alpert"
<ealpert at digitalglobe.com> wrote:

> 
> 
> Do an ldd `which ogrinfo`
> 
> You should have the Oracle libraries libclntsh.so.x.x and libwtcx.so
> linked in if not then there was a problem building ogr note the 'x' is
> the version number. I still use 9.0 but can connect to 10g fine.

I do have libclntsh.so.x.x on my system, but when looking into the
instantclient-dir libwtcx.so is not there. Also a ldd on the ogrinfo
does only show up the libclntsh.so.x.x library.
holl at berlin:~> ldd /usr/local/bin/ogrinfo
        linux-gate.so.1 =>  (0xffffe000)
        libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0x4003c000)
        libgeos.so.2 => /usr/local/lib/libgeos.so.2 (0x404a4000)
        libclntsh.so.10.1 => /projekte/oracle/db/lib/libclntsh.so.10.1
        libnnz10.so => /projekte/oracle/db/lib/libnnz10.so
[...]
holl at berlin:~> 

/projekte/oracle/db/oui/lib/linux/libwtc9.so is available in my
server-installation-dir, but not in my client-folders.

Could that be a problem?

holl at berlin:~> ogrinfo --formats
Loaded OGR Format Drivers:
  -> "GRASS" (readonly)
  -> "ESRI Shapefile" (read/write)
  -> "UK .NTF" (readonly)
  -> "SDTS" (readonly)
  -> "TIGER" (read/write)
  -> "S57" (read/write)
  -> "MapInfo File" (read/write)
  -> "DGN" (read/write)
  -> "VRT" (readonly)
  -> "AVCBin" (readonly)
  -> "REC" (readonly)
  -> "Memory" (read/write)
  -> "CSV" (read/write)
  -> "GML" (read/write)
  -> "ODBC" (read/write)
  -> "PGeo" (readonly)
  -> "PostgreSQL" (read/write)
  -> "OCI" (read/write)
holl at berlin:~> 

so everything seems to be OK.

> 
> Also make sure your tnsnames.ora file is correct.

Double checked now, since the sqlplus-utility uses the same file and
can connect to the instance defined in there smoothly.
?!

Thanks for other hints

Stephan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20051117/cda5b8e4/signature.bin


More information about the Gdal-dev mailing list