[Mapserver-users] mapserv does not work.

Nicolas Boretos nicolas at maich.gr
Wed Nov 5 23:52:49 PST 2003


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





More information about the MapServer-users mailing list