<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>as root try</span></div><div><br><span></span></div><div><span>ldconfig -v |grep geos</span></div><div><br><span></span></div><div><span>or I will have a doubt about that<br></span></div><div><br><span></span></div><div><span>export LD_LIBRARY_PATH=/usr/local/lib:$</span><span class="tab">LD_LIBRARY_PATH<br></span></div><div><br><span></span></div><div><span>try ./mapserver <br></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">De :</span></b> Stefan W. <winkelmann@gdv.com><br> <b><span style="font-weight: bold;">À :</span></b> mapserver-users@lists.osgeo.org
<br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Vendredi 13 Janvier 2012 11h41<br> <b><span style="font-weight: bold;">Objet :</span></b> [mapserver-users] Problem compiling with GEOS<br> </font> </div> <br><div id="yiv437392779">
<div>
<span lang="EN-US">Hi List,<br>
<br>
</span>I'm <span>trying to install <span class="yiv437392779bold yiv437392779highlight
yiv437392779search-highlight">Mapserver</span> 6.0.1 with GEOS 3.2.3.<br>
<br>
My configuration:<br>
<i>./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</i><br>
</span><span lang="EN-US"><br>
There is no error message during compilation.<br>
</span><span lang="EN-US">./mapserv shows me:<br>
<i>./mapserv: error while loading shared libraries:
libgeos_c.so.1: cannot open shared object file: No such file or
directory</i><br>
<br>
</span><span lang="EN-US">But libgeos_c.so.1</span> is in
/usr/local/lib and GEOS 3.2.3 is <span lang="EN-US">correctly
installed.</span><br>
<span lang="EN-US">The Path in the Makefile is also correct: </span><i><span><span><span class="yiv437392779bold yiv437392779highlight yiv437392779search-highlight">GEOS_LIB</span>=
-L/usr/local/lib -lgeos_c</span></span></i><br>
<span lang="EN-US"><br>
Any suggestions?<br>
</span><span lang="EN-US"><br>
Best regards,</span><br>
Stefan<br>
<div class="yiv437392779moz-signature"><br>
</div>
</div>
</div><br>_______________________________________________<br>mapserver-users mailing list<br><a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br><br><br> </div> </div> </div></body></html>