<HTML dir=ltr><HEAD><TITLE>Re: [ms4w-users] Mapfile in ms4w</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText64224 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>
<DIV class=commentBody>Hi, <BR><BR>After carefully following all instructions of how to build <SPAN class=highlightedSearchTerm>mapserver</SPAN> in a <SPAN class=highlightedSearchTerm>linux</SPAN> environmet (URL: <A href="http://mapserver.gis.umn.edu/docs/howto/verboselinuxinstall">http://mapserver.gis.umn.edu/docs/howto/verboselinuxinstall</A>), I come to the last point,where all i have to do is execute the mapserv executable. </DIV>
<DIV class=commentBody>&nbsp;</DIV>
<DIV class=commentBody>However, the following occurs: </DIV>
<DIV class=commentBody><BR>[root@localhost <SPAN class=highlightedSearchTerm>mapserver</SPAN>-4.8.1]# /usr/local/apache2/cgi-bin/mapserv <BR>/usr/local/apache2/cgi-bin/mapserv: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory <BR></DIV>
<DIV class=commentBody>&nbsp;</DIV>
<DIV class=commentBody>instead of :"This script can only be used to decode form results and should be initiated as a CGI process via a httpd server."<BR><BR>does anyone please have any idea about this? All steps until the <SPAN class=highlightedSearchTerm>mapserver</SPAN> execution have successfully done, and my environment variables (e.g. LD_LIBRARY_PATH) have been set ok.</DIV>
<DIV class=commentBody><BR>Best regards,</DIV></FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
<DIV id=idSignature61786 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2>Athanasis Nikolaos</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>Postgraduate Student</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>University of the Aegean</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>Department of Geography</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>University Hill</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>81100 Mytilene, GREECE</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#000000 size=2>TEL&nbsp; +30-22510-36437</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Από:</B> ms4w-users-bounces@lists.maptools.org εκ μέρους Bart van den Eijnden (OSGIS)<BR><B>Αποστολή:</B> Τετ 8/11/2006 1:42 μμ<BR><B>Προς:</B> Radhika; ms4w-users@lists.maptools.org<BR><B>Θέμα:</B> Re: [ms4w-users] Mapfile in ms4w<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>You need to change the Mapserver source code and recompile, file map.h:<BR><BR>#define MS_MAXLAYERS 200<BR><BR>Btw, it's better not to have so many layers, why don't you split up your MAP<BR>files instead?<BR><BR>Best regards,<BR>Bart<BR><BR>--<BR>Bart van den Eijnden<BR>OSGIS, Open Source GIS<BR><A href="http://www.osgis.nl/">http://www.osgis.nl</A><BR><BR><BR>--------- Oorspronkelijk bericht --------<BR>Van: Radhika &lt;radhikadubey@infobase.in&gt;<BR>Naar: ms4w-users@lists.maptools.org &lt;ms4w-users@lists.maptools.org&gt;<BR>Onderwerp: [ms4w-users] Mapfile in ms4w<BR>Datum: 08/11/06 09:20<BR><BR>&gt;<BR>&gt;&nbsp;&nbsp; Hi,<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Maximum limit of mapfile is 200 layers, but I want to add<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; more than 200 layers.What modifications I need to make<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; so that I can use more than 200 layers in mapfile.<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Please help me to come out of this problem.<BR>&gt;<BR>&gt;&nbsp;&nbsp; Thanks &amp;amp; Regards<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; radhika.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; -----------------------------------------<BR>&gt; NOTICE: This e-mail message including any attachment (collectively the<BR>&amp;quot;e-mail&amp;quot;)<BR>&gt; may contain privileged and confidential information. Except for personal<BR>use&nbsp; by<BR>&gt; the intended recipient, or as expressly authorized by the sender, any<BR>person who<BR>&gt; receives this information is prohibited from disclosure, copy, distribute,<BR>or<BR>&gt; take of any action in reliance on the contents of this e-mailed<BR>information.&nbsp; If<BR>&gt; you are not the intended recipient, then please (i) do not read, forward,<BR>print,<BR>&gt; copy or otherwise disseminate this e-mail, (ii) notify us of the error by<BR>a reply,<BR>&gt; and (iii) delete this e-mail from your computer. Nothing in this<BR>communication is<BR>&gt; intended to operate as an electronic signature under applicable law.<BR>Compare<BR>&gt; Infobase will not be responsible for loss or damage arising from the use<BR>of the<BR>&gt; information transmitted by this email including damage from virus or some<BR>other<BR>&gt; third party intervention<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; ms4w-users mailing list<BR>&gt; ms4w-users@lists.maptools.org<BR>&gt; <A href="http://lists.maptools.org/mailman/listinfo/ms4w-users">http://lists.maptools.org/mailman/listinfo/ms4w-users</A><BR>&gt;<BR>&gt;<BR><BR><BR><BR>_______________________________________________<BR>ms4w-users mailing list<BR>ms4w-users@lists.maptools.org<BR><A href="http://lists.maptools.org/mailman/listinfo/ms4w-users">http://lists.maptools.org/mailman/listinfo/ms4w-users</A><BR></FONT></P></DIV></BODY></HTML>