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 <[email protected]> on behalf of 
"Silvia Gatti - OSMGP.- via MapServer-users" <[email protected]>
Reply-To: "Silvia Gatti - OSMGP.-" <[email protected]>
Date: Thursday, July 21, 2022 at 1:48 PM
To: Mapserver Mailing List <[email protected]>
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 
[email protected] 
https://lists.osgeo.org/mailman/listinfo/mapserver-users 

_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to