<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>The sdk part is needed with the instant client. <o:p></o:p></p><p class=MsoNormal>Make sure you also have libaoi (ubuntu libaoi1) installed.<o:p></o:p></p><p class=MsoNormal>Make sure ORACLE_HOME (path to the instant client library) is in the LD_LIBRARY_PATH. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Mike<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>-- <o:p></o:p></p><div><p class=MsoNormal>Michael Smith<o:p></o:p></p><p class=MsoNormal>US Army Corps of Engineers<o:p></o:p></p></div><p class=MsoNormal>Remote Sensing/GIS Center<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:12.0pt;color:black'>From: </span></b><span style='font-size:12.0pt;color:black'>mapserver-users <mapserver-users-bounces@lists.osgeo.org> on behalf of Steve Lime <sdlime@gmail.com><br><b>Date: </b>Tuesday, August 25, 2020 at 10:39 AM<br><b>To: </b>Marcin Grudzień <mgrudzien7@gmail.com><br><b>Cc: </b>Mapserver <mapserver-users@lists.osgeo.org><br><b>Subject: </b>Re: [mapserver-users] Compiling Mapserver with Oracle Spatial support issue<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Hmmm... Does -DWITH_ORACLESPATIAL=ON (so ON vs 1) make a difference? It shouldn't... If you do a "ldd mapserv" is the binary linked against the Oracle libs?<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, Aug 19, 2020 at 12:55 AM Marcin Grudzień <<a href="mailto:mgrudzien7@gmail.com">mgrudzien7@gmail.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal>Hi,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I am new to Mapserver. I am trying to compile MapServer 7.6.1 with Oracle Spatial support on Ubuntu 20.04. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I basically follow the instruction on <a href="https://www.mapserver.org/installation/unix.html" target="_blank">https://www.mapserver.org/installation/unix.html#</a>. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>To configure my environment I use <o:p></o:p></p></div><div><p class=MsoNormal>cmake .. -DINSTALL_LIB_DIR:PATH=/usr/lib -DCMAKE_PREFIX_PATH="/usr/local;/opt;/usr/lib;/usr/lib/x86_64-linux-gnu;/usr/local/lib;/usr/lib/oracle/11.2/client64/bin;/usr/lib/oracle/11.2/client64/lib" -DWITH_CLIENT_WFS=1 -DWITH_CLIENT_WMS=1 -DWITH_CURL=1 -DWITH_SOS=1 -DWITH_PHP=1 -DWITH_PERL=1 -DWITH_RUBY=0 -DWITH_JAVA=1 -DWITH_CSHARP=0 -DWITH_PYTHON=1 -DWITH_SVGCAIRO=0 <b>-DWITH_ORACLESPATIAL=1</b> -DWITH_MSSQL2008=0 -DWITH_CURL=1 -DWITH_LIBXML2=1 ../ >../configure.out.txt<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The cmake output shows:<o:p></o:p></p></div><div><p class=MsoNormal>* Summary of configured options for this build<br>-- * Mandatory components<br>-- * GDAL: /usr/local/lib/libgdal.so<br>-- * PROJ: /usr/lib/x86_64-linux-gnu/libproj.so<br>-- * png: /usr/lib/x86_64-linux-gnu/libpng.so<br>-- * jpeg: /usr/lib/x86_64-linux-gnu/libjpeg.so<br>-- * freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so<br>-- * Optional components<br>-- * GIF: /usr/lib/x86_64-linux-gnu/libgif.so<br>-- * MYSQL: disabled<br>-- * FRIBIDI: /usr/lib/x86_64-linux-gnu/libfribidi.so<br>-- * HARFBUZZ: /usr/lib/x86_64-linux-gnu/libharfbuzz.so<br>-- * GIF: /usr/lib/x86_64-linux-gnu/libgif.so<br>-- * CAIRO: /usr/lib/x86_64-linux-gnu/libcairo.so<br>-- * SVGCAIRO: disabled<br>-- * RSVG: disabled<br>-- * CURL: /usr/lib/x86_64-linux-gnu/libcurl.so<br>-- * PIXMAN: disabled<br>-- * LIBXML2: /usr/lib/x86_64-linux-gnu/libxml2.so<br>-- * POSTGIS: /usr/lib/x86_64-linux-gnu/libpq.so<br>-- * GEOS: /usr/lib/x86_64-linux-gnu/libgeos_c.so<br>-- * FastCGI: /usr/lib/x86_64-linux-gnu/libfcgi.so<br>-- * PROTOBUFC: /usr/local/lib/libprotobuf-c.so<br><b>-- * Oracle Spatial: /usr/lib/oracle/11.2/client64/lib/libclntsh.so;/usr/lib/oracle/11.2/client64/lib/libocci.so;/usr/lib/oracle/11.2/client64/lib/libnnz11.so</b><br>-- * Exempi XMP: disabled<br>-- * Optional features<br>-- * WMS SERVER: ENABLED<br>-- * WFS SERVER: ENABLED<br>-- * WCS SERVER: ENABLED<br>-- * SOS SERVER: ENABLED<br>-- * WMS CLIENT: ENABLED<br>-- * WFS CLIENT: ENABLED<br>-- * ICONV: ENABLED<br>-- * Thread-safety support: disabled<br>-- * KML output: disabled<br>-- * Z+M point coordinate support: ENABLED<br>-- * XML Mapfile support: disabled<br>-- * Mapscripts<br>-- * Python: ENABLED<br>-- * PHP: ENABLED<br>-- * PHPNG: disabled<br>-- * PERL: ENABLED<br>-- * RUBY: disabled<br>-- * JAVA: ENABLED<br>-- * C#: disabled<br>-- * V8 Javascript: disabled<br>-- * Apache Module (Experimental): disabled<br>--<br>-- PROJECT_BINARY_DIR is set to /home/mgrudzien/mapserver-7.6.1/build<br>-- Will install files to /usr/local<br>-- Will install libraries to /usr/lib<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /home/mgrudzien/mapserver-7.6.1/build<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Then I compile and install MapServer. However, when I execute mapserv -v I get<o:p></o:p></p></div><div><p class=MsoNormal>MapServer version 7.6.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=POINT_Z_M SUPPORTS=PBF INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The Oracle Spatial is not supported. What am I doing wrong? How this can be solved?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Best regards,<o:p></o:p></p></div><div><p class=MsoNormal>Marcin<o:p></o:p></p></div></div><p class=MsoNormal>_______________________________________________<br>mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></p></blockquote></div><p class=MsoNormal>_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users<o:p></o:p></p></div></body></html>