Nahum and Frank -<br><br>Many thanks to your helpful suggestions! Now it works like a charm...<br><br>Ningchuan<br><br><div class="gmail_quote">On Tue, Apr 15, 2008 at 9:48 PM, Nahum Castro &lt;<a href="mailto:pedro1_72@yahoo.com">pedro1_72@yahoo.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
--- Frank Warmerdam &lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt; escribió:<br>
<div><div></div><div class="Wj3C7c"><br>
&gt; Ningchuan Xiao wrote:<br>
&gt; &gt; Dear All,<br>
&gt; &gt;<br>
&gt; &gt; I was wondering if anyone could please help me<br>
&gt; solve this problem. I<br>
&gt; &gt; compiled MapServer 5.0.2 on Fedora 7 and 8. I<br>
&gt; installed all required<br>
&gt; &gt; libraries/packages. If I configure MapServer<br>
&gt; without any options (i.e.,<br>
&gt; &gt; just use ./configure), the resulting file mapserv<br>
&gt; works fine if I copy<br>
&gt; &gt; it to the cgi-bin folder.<br>
&gt; &gt;<br>
&gt; &gt; However, if I configure it using any other options<br>
&gt; (such as --with-proj,<br>
&gt; &gt; with proj4 successfully installed), I can compile<br>
&gt; MapServer with no<br>
&gt; &gt; problem and can run mapserv -v. However, if I copy<br>
&gt; it to the cgi-bin<br>
&gt; &gt; folder, it will not work. All I get is a blank<br>
&gt; page in the web browser<br>
&gt; &gt; with no error messages.<br>
&gt;<br>
&gt; Ningchuan,<br>
&gt;<br>
&gt; I would guess this is because the extra options have<br>
&gt; shared libraries in<br>
&gt; places that aren&#39;t searched under apache. &nbsp;For<br>
&gt; instance, if libproj.so<br>
&gt; is installed in /usr/local/lib and you haven&#39;t<br>
&gt; managed that properly via<br>
&gt; ldconfig or LD_LIBRARY_PATH.<br>
&gt;<br>
&gt; Best regards,<br>
&gt; --<br>
<br>
</div></div>create a file named mapserver.conf in<br>
/etc/ld.so.conf.d/ and add the next lines:<br>
/path/to/proj4/libs<br>
/path/to/gdal/libs<br>
/path/to/geos/libs<br>
<br>
mine is<br>
/usr/local/lib<br>
/usr/local/pgsql/lib<br>
<br>
because i compiled from source postgresql+postgis,<br>
gdal, proj4 and geos<br>
<br>
If you will use php-mapscript install<br>
#yum -y install php-devel<br>
<br>
Use ./configure --help<br>
for more parameters<br>
<br>
Nahum.<br>
<font color="#888888"><br>
--<br>
Nahum Castro<br>
Leon, Guanajuato, Mexico<br>
<a href="http://www.leon-linux.com" target="_blank">http://www.leon-linux.com</a><br>
e-mail: pedro1_72 [en] yahoo [punto] com<br>
</font><div class="WgoR0d"><br>
<br>
 &nbsp; &nbsp; &nbsp;____________________________________________________________________________________<br>
¡Capacidad ilimitada de almacenamiento en tu correo!<br>
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:<br>
<a href="http://correo.yahoo.com.mx/" target="_blank">http://correo.yahoo.com.mx/</a><br>
</div><div><div></div><div class="Wj3C7c"><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>
</div></div></blockquote></div><br>