<font color="#333333"><font><font face="arial,helvetica,sans-serif">I've compiled mapserver 5.6.7 with </font></font></font><span style="color:rgb(51,51,51);font-family:arial,helvetica,sans-serif">a custom version of geos, postgis, gdal and proj4.</span><font color="#333333"><font><font face="arial,helvetica,sans-serif"> </font></font></font><div>
<font color="#333333"><font><font face="arial,helvetica,sans-serif"><br></font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">Here is the configure command:</font></font></font><div>
<div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br></font></font></font></div><div><font><font face="arial,helvetica,sans-serif" color="#666666"><i style="background-color:rgb(255,255,255)">./configure --prefix=/usr/local/gis/mapserver-5.6.7 --with-pdf --with-freetype --with-agg --with-eppl --with-proj=/usr/local/gis/proj-4.7.0 --with-threads --with-sde --with-geos=/usr/local/gis/geos-3.2.2/bin/geos-config --with-ogr=/usr/local/gis/gdal-1.9.2/bin/gdal-config --with-gdal=/usr/local/gis/gdal-1.9.0/bin/gdal-config --with-tiff --with-postgis=/usr/local/gis/postgresql-9.1.2/bin/pg_config --with-wfs --with-wcs --with-wmsclient --with-wfsclient --with-sos --with-fribidi-config --with-gd</i></font></font></div>
<div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br></font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">Everything works fine but when I do:</font></font></font></div>
<div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br></font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">"<i>ldd mapserv</i>" it says:</font></font></font></div>
<div><font color="#333333"><font><font face="arial,helvetica,sans-serif">...</font></font></font></div><div><font><font face="arial,helvetica,sans-serif"><div><i><font color="#666666">libproj.so.0 => /usr/lib/libproj.so.0 (0xb7504000)</font></i></div>
<div><i><font color="#666666">libgdal.so.1 => not found</font></i></div><div><div><i><font color="#666666">libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0xb74ec000)</font></i></div><div><i><font color="#666666">libpq.so.5 => /usr/lib/libpq.so.5</font></i></div>
</div><div style="color:rgb(51,51,51)">...</div><div style="color:rgb(51,51,51)"><br></div><div style="color:rgb(51,51,51)">Why these libraries don't use the path specified in the configure command. it'd be make senses to me if ldd output looks like:</div>
<div style="color:rgb(51,51,51)"><br></div><div style="color:rgb(51,51,51)"> ...</div></font></font><div><font><font face="arial,helvetica,sans-serif"><div><i><font color="#666666">libproj.so.0 => /usr/local/gis/proj-4.7.0/lib/libproj.so.0 (0xb7504000)</font></i></div>
<div><i><font color="#666666">libgdal.so.1 => not found</font></i></div><div><div><i><font color="#666666">libgeos_c.so.1 => /</font></i><i style="color:rgb(102,102,102)">usr/local/gis/geos-3.2.2</i><i><font color="#666666">/lib/libgeos_c.so.1 (0xb74ec000)</font></i></div>
<div><i><font color="#666666">libpq.so.5 => /usr/lib/libpq.so.5</font></i></div></div><div style="color:rgb(51,51,51)">...</div></font></font></div></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br>
</font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">What's wrong here?</font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br>
</font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">Am I forced to do symbol links or set the custom libraries in LD_PATH?</font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br>
</font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif"><br></font></font></font></div><div><font color="#333333"><font><font face="arial,helvetica,sans-serif">Thanks!</font></font></font><br clear="all">
<div>
<div style="font-family:Helvetica,arial,sans-serif">
<div style="font-size:18px;padding:20px 5px 10px 0px">
<div style="color:rgb(130,182,0)"> Alberto Asuero</div>
<div style="color:rgb(125,123,124)">Ingeniero Informático<br> </div>
</div>
<div style="color:rgb(125,123,124);font-size:12px;padding:10px 5px 20px 0px">
<div style="color:rgb(125,123,124);text-decoration:none"> <span></span><a href="mailto:alberto.asuero@gstgis.com" target="_blank">alberto.asuero@gstgis.com</a></div><div> 654 190 888 </div>
</div>
<div style="background-color:rgb(245,245,245);color:rgb(125,123,124);padding:15px 0px 15px 15px;font-size:12px;border-width:1px;border-style:dotted none;border-color:rgb(209,208,208);overflow:hidden;width:98%">
<div style="min-height:50px">
<div style="width:400px;float:left;text-decoration:none">
<div style="float:left;width:120px;color:rgb(125,123,124);text-decoration:none">
<div style="float:left;width:80px;padding-top:3px"> Rodio 35<br>
41007 Sevilla<br>
Spain </div>
<div style="float:left;padding-top:16px"> <br>
</div>
</div>
<div style="float:left;width:150px;padding-top:17px;color:rgb(125,123,124)">
T +34 954 437 818 <br>
F +34 955 110 441 </div>
<div style="width:130px;padding-top:17px;float:left;text-decoration:none">
<div style="color:rgb(125,123,124);text-decoration:none"> Visita nuestra web </div>
<a href="http://www.gstgis.com/" style="text-decoration:none" target="_blank">
<div style="color:rgb(130,182,0)"> <b>www.gstgis.com</b>
</div>
</a> </div>
</div>
<div style="float:right;padding-right:10px;margin-left:40px;text-align:right"> <img src="http://gstgis.com/firma/logo.png">
</div>
</div>
</div>
</div>
</div>
<br>
</div></div></div>