[mapserver-users] Configuring mapserv with Oracle on Ubuntu 22.04

Michael Smith michael.smith.erdc at gmail.com
Thu Jul 21 11:13:37 PDT 2022


Silvia,

 

You generally also need to set the ORACLE_HOME env value to your client location, eg export ORACLE_HOME=$PREFIX/instantclient. Also make sure you have libaio installed as that is needed as well.

 

Mike

 

 

-- 

Michael Smith

US Army Corps of Engineers

Remote Sensing/GIS Center

 

 

From: MapServer-users <mapserver-users-bounces at lists.osgeo.org> on behalf of "Silvia Gatti - OSMGP.- via MapServer-users" <mapserver-users at lists.osgeo.org>
Reply-To: "Silvia Gatti - OSMGP.-" <gatti.silvia at osmgp.gov.ar>
Date: Thursday, July 21, 2022 at 1:48 PM
To: Mapserver Mailing List <mapserver-users at lists.osgeo.org>
Subject: [mapserver-users] Configuring mapserv with Oracle on Ubuntu 22.04

 

I am new for mapserv over Ubuntu 22.04.
I had Oracle Client installed ok, because sqlplus is running

I'm following instructions in https://mapserver.org/installation/unix.html?highlight=compiling+over+ubuntu#compiling-on-unix

After fighting several weeks I'm at this point. And I've never got mapserv to compile for Oracle.
I had also read https://gis.stackexchange.com/questions/328817/mapserver-with-oracle-spatial-on-linux

I 'll apreciate any help
cmake -DCMAKE_INSTALL_PREFIX=/opt/mapserver \
        -DCMAKE_PREFIX_PATH=/usr/local/pgsql/91:/usr/local:/opt:/usr/share:/usr/lib:/usr/lib/oracle/12.2/client64:/usr/include/oracle/12.2/client64:/usr/lib:/usr/lib64:/usr/share/gdal \
        -DWITH_CLIENT_WFS=ON \
        -DWITH_CLIENT_WMS=ON \
        -DWITH_CURL=ON \
        -DWITH_SOS=ON \
        -DWITH_PHP=ON \
        -DWITH_PERL=ON \
        -DWITH_RUBY=ON \
        -DWITH_JAVA=ON \
        -DWITH_CSHARP=ON \
        -DWITH_PYTHON=ON \
        -DWITH_SVGCAIRO=OFF\
        -DWITH_ORACLESPATIAL=ON \
        -DWITH_MSSQL2008=ON \
  -DWITH_PROTOBUFC=OFF \
  -DWITH_HARFBUZZ=OFF \
  -DWITH_FRIBIDI=OFF \
        ../ >../configure.out.txt


-- 
Silvia Gatti
Gestion del Cambio - Gcia. de Sistemas
Obras Sanitarias S.E. Mar del Plata - Batán
Tel. 4992900 Int 521

"Trabajando por un futuro con agua potable para todos"


_______________________________________________ MapServer-users mailing list MapServer-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220721/ea0d42fa/attachment.htm>


More information about the MapServer-users mailing list