[Mapserver-users] mapserv does not work.

Mahinn Zahoor MZahoor at lmkr.com
Thu Nov 6 02:04:09 PST 2003


This is a multipart message in MIME format.
--=_alternative 00370CC545256DD6_=
Content-Type: text/plain; charset="US-ASCII"

i did run ldd mapserv
it didnt show path required for libgd.so.2 although did mention that it is 
not found.
also i edited the  /etc/ld.so.conf  and added the path for libgd.so.2 i.e. 
/usr/local/lib
ran ldconfig but still the same error is there....



What should i do?

Regards 
Mahinn Zahoor

*----------------------------------------------------
Confidentiality Notice: The information in this document and attachments 
is confidential and may also be legally privileged.. If you are not an 
intended recipient, as indicated above, please notify us immediately.  In 
such event, you should not copy or use this e-mail for any purpose nor 
disclose its contents to anyone. Enclosed information and attachments 
remain the property of LMK Resources. Opinions,conclusions, attachments 
and other information in this message that do not relate to the official 
business of LMK Resources should be understood as my personal 
responsibility, and as neither given nor endorsed by my company. Thank 
you.





Nicolas Boretos <nicolas at maich.gr> 
Sent by: mapserver-users-admin at lists.gis.umn.edu
11/06/2003 12:52 PM

To
Mahinn Zahoor <MZahoor at lmkr.com>
cc
"Mapserver-users at lists.gis.umn.edu" <Mapserver-users at lists.gis.umn.edu>
Subject
Re: [Mapserver-users] mapserv does not work.






Mahinn Zahoor wrote:

>
> Hello all
> i am a new one to install maperver on linux environment.
> i have installed all the packages successfully required for mapserver, 
> under the maperver directory i issue the following command
>
> *./configure --with-gd=/usr/local --with-proj=/usr/local/ 
> --with-gdal=/usr/local/bin/gdal-config --with-jpg=/usr/local*
>
> it gets configured all ok.
> then i run
>
> *make *
> things go successfully
>
> but when i run
> *./mapserv*  i get the following error regarding *libgd.so.2*
> Cannot open shared file
> No such file or directory
>
>
> i am running Apache 2.0.48 and there is nothing in its error log.
>
> Please reply asap.
>
> Regards
> Mahinn
>
>
Hi,

First run

"ldd"  mapserv

This'll show you library dependencies of mapserv executable and show you 
where it expects to find libgd.so.2

If it does not find it, you probably have to either put in a direcory 
where your dynamic loader  looks

In Slackware at least, look at /etc/ld.so.conf, add/edit path to 
libgd.so.2 and run

"ldconfig"  in this directory after editing.


regards,
nicolas boretos


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


--=_alternative 00370CC545256DD6_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">i did run ldd mapserv</font>
<br><font size=2 face="sans-serif">it didnt show path required for libgd.so.2
although did mention that it is not found.</font>
<br><font size=2 face="sans-serif">also i edited the  </font><font size=2><tt>/etc/ld.so.conf</tt></font><font size=2 face="sans-serif">
 and added the path for libgd.so.2 i.e. /usr/local/lib</font>
<br><font size=2 face="sans-serif">ran ldconfig but still the same error
is there....</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">What should i do?</font>
<br>
<br><font size=2 face="sans-serif">Regards </font>
<br><font size=2 face="sans-serif">Mahinn Zahoor</font>
<br><font size=2 face="sans-serif"><br>
*----------------------------------------------------<br>
Confidentiality Notice: The information in this document and attachments
is confidential and may also be legally privileged.. If you are not an
intended recipient, as indicated above, please notify us immediately.  In
such event, you should not copy or use this e-mail for any purpose nor
disclose its contents to anyone. Enclosed information and attachments remain
the property of LMK Resources. Opinions,conclusions, attachments and other
information in this message that do not relate to the official business
of LMK Resources should be understood as my personal responsibility, and
as neither given nor endorsed by my company. Thank you.<br>
<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Nicolas Boretos <nicolas at maich.gr></b>
</font>
<br><font size=1 face="sans-serif">Sent by: mapserver-users-admin at lists.gis.umn.edu</font>
<p><font size=1 face="sans-serif">11/06/2003 12:52 PM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">Mahinn Zahoor <MZahoor at lmkr.com></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top><font size=1 face="sans-serif">"Mapserver-users at lists.gis.umn.edu"
<Mapserver-users at lists.gis.umn.edu></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [Mapserver-users] mapserv
does not work.</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Mahinn Zahoor wrote:<br>
<br>
><br>
> Hello all<br>
> i am a new one to install maperver on linux environment.<br>
> i have installed all the packages successfully required for mapserver,
<br>
> under the maperver directory i issue the following command<br>
><br>
> *./configure --with-gd=/usr/local --with-proj=/usr/local/ <br>
> --with-gdal=/usr/local/bin/gdal-config --with-jpg=/usr/local*<br>
><br>
> it gets configured all ok.<br>
> then i run<br>
><br>
> *make *<br>
> things go successfully<br>
><br>
> but when i run<br>
> *./mapserv*  i get the following error regarding *libgd.so.2*<br>
> Cannot open shared file<br>
> No such file or directory<br>
><br>
><br>
> i am running Apache 2.0.48 and there is nothing in its error log.<br>
><br>
> Please reply asap.<br>
><br>
> Regards<br>
> Mahinn<br>
><br>
><br>
Hi,<br>
<br>
First run<br>
<br>
"ldd"  mapserv<br>
<br>
This'll show you library dependencies of mapserv executable and show you
<br>
where it expects to find libgd.so.2<br>
<br>
If it does not find it, you probably have to either put in a direcory <br>
where your dynamic loader  looks<br>
<br>
In Slackware at least, look at /etc/ld.so.conf, add/edit path to <br>
libgd.so.2 and run<br>
<br>
"ldconfig"  in this directory after editing.<br>
<br>
<br>
regards,<br>
nicolas boretos<br>
<br>
<br>
_______________________________________________<br>
Mapserver-users mailing list<br>
Mapserver-users at lists.gis.umn.edu<br>
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users<br>
</tt></font>
<br>
--=_alternative 00370CC545256DD6_=--



More information about the MapServer-users mailing list