[mapserver-users] Problem compiling with GEOS

David TECHER davidtecher at yahoo.fr
Fri Jan 13 06:46:53 EST 2012


as root try

ldconfig -v |grep geos

or I will have a doubt about that


export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH


try ./mapserver 



________________________________
 De : Stefan W. <winkelmann at gdv.com>
À : mapserver-users at lists.osgeo.org 
Envoyé le : Vendredi 13 Janvier 2012 11h41
Objet : [mapserver-users] Problem compiling with GEOS
 

Hi List,

I'm trying to install Mapserver 6.0.1 with GEOS 3.2.3.

My configuration:
./configure --with-ogr=/usr/local/bin/gdal-config --with-gdal=/usr/local/bin/gdal-config --with-proj=/usr/local --with-wmsclient --with-wmsserver --with-curl-config=/usr/bin/curl-config --with-php=/usr/include/php5 --with-freetype --with-wfs --with-fastcgi=/usr --with-xml2-config=/usr/bin/xml2-config --with-geos=/usr/local/bin/geos-config

There is no error message during compilation.
./mapserv shows me:
./mapserv: error while loading shared libraries: libgeos_c.so.1: cannot open shared object file: No such file or directory

But libgeos_c.so.1 is in /usr/local/lib and GEOS 3.2.3 is correctly installed.
The Path in the Makefile is also correct: GEOS_LIB=  -L/usr/local/lib -lgeos_c

Any suggestions?

Best regards,
Stefan


_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120113/f5ba0605/attachment.html


More information about the mapserver-users mailing list