Problems Compiling for & Using Oracle Spatial

Timothy J Nolte tnolte at ILPCS.COM
Tue Aug 7 09:20:40 PDT 2007


I do in fact have all of the Oracle libraries installed. We actually have a
full Oracle Enterprise database install as well as the client. I finally was
able to get MapServer compiled. I did have to hand edit the configure file
and the Mapscript Makefile to point to the right libs path. In the end I
realized that I had mixed the OGR Oracle Spatial syntax and the MapServer
native syntax. In fact there was a problem with the username/password as I
was trying to use MapServer native with "OCI:username/password" I tried it
without the OCI and it worked perfectly. I'm still having problems getting
GDAL to find the Oracle libraries. I gave up as MapServer native is working.

On Tue, 7 Aug 2007 08:50:39 -0300, Fernando Simon <fsimon at UNIVALI.BR> wrote:

>Hi Timothy,
>    It's a strange problem, the same occur with GDAL and Mapserver
>native connection.
>    I believe that it's a problem with Oracle libs, to compile Mapserver
>you need to have Oracle libs (from Client or instant library) in your
>system. If you have them from Oracle Client you need to set the Oracle
>environments too (ORACLE_HOME, ORACLE_BASE at least).
>    You can use a client to connect in a server in another machine
>without problem.
>     Best regards.
>
>--------------------------------------------------------------
>Fernando Simon
>UMN Mapserver and Oracle Spatial developer
>--------------------------------------------------------------



More information about the MapServer-users mailing list