[Gdal-dev] trouble on compiling and using ogr with Oracle Spatial

abhay menon abhay.menon at gmail.com
Tue Dec 19 11:33:15 EST 2006


On 12/19/06, Francesco Sozzi <fsozzi at intercad.ch> wrote:
>
>  Hi All,
>
> I'm trying to compile ogr with Oracle Spatial.
> I changed nmake.opt with the following:
>
> # Add ORACLE support.
> ORACLE_HOME = D:\oracle\ora92
>
> !IFDEF ORACLE_HOME
> OCI_LIB = $(ORACLE_HOME)\oci\lib\msvc\ociw32.lib \
> $(ORACLE_HOME)\oci\lib\msvc\oci.lib
> !ENDIF
>
> ORACLE_HOME path is correct.
>
> Then I compiled and I got binaries (such as ogr2ogr.exe).
>
> But if I try to issue a test as
>
> ogr2ogr -f OCI OCI:scott/tiger at franz C:\App\TI-CantoneSHP\comuni.shp
>
> I get the error "Unable to find driver 'OCI'"
>
> Any suggestions?...
>
> Best regards
>
> Francesco
>
>
>
Hello Francesco,
which version of gdal are you compiling.

if you using gdal-1.3.2 or later
comment out : #OCI_PLUGIN = YES
this probably should solve the problem.

-- 
Best Regards

Abhay Menon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20061219/b6a23a0e/attachment.html


More information about the Gdal-dev mailing list