I just find the answer... The problem is that mapserv can&#39;t find libgdal even though is installed.<div>If you are in debian and compile libgdal by hand you can do this doing the following:</div><div><br></div><div>vim /etc/ld.so.conf.d/i486-linux-gnu.con</div>
<div>add /usr/local/lib</div><div>run ldconfig,,</div><div><br></div><div>That should fix it.<br><br><div class="gmail_quote">On Fri, Jan 16, 2009 at 12:21 PM, rafael <span dir="ltr">&lt;<a href="mailto:rafaelchacon@gmail.com">rafaelchacon@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Hi, I read the instructions to compile and downloads all the needed libraries<br>
and packages. I made the configure with all the options I need and<br>
everything seems fine. After that I did the make and it generates the<br>
mapserv bin. But when I try to use it is throws the following error:<br>
<br>
./mapserv: error while loading shared libraries: libgdal.so.1: Cannot open<br>
shared object file: No such file or directory.<br>
<br>
Why could this happen??<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Problems-after-compiling--mapserver-tp2163554p2163554.html" target="_blank">http://n2.nabble.com/Problems-after-compiling--mapserver-tp2163554p2163554.html</a><br>

Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a 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>
</font></blockquote></div><br><br clear="all"><br>-- <br>Rafael Chacon,<br><br>&quot;El hombre es la medida de todas las cosas&quot;. Protagoras<br>
</div>