[Mapserver-users] trouble running mapserv
Jehng-Jung Kao
jjkao at ensys.ev.nctu.edu.tw
Wed Apr 9 10:49:16 PDT 2003
On Wed, 2 Apr 2003, gvkumar wrote:
> Hi, I was trying to install MapServer and everything seemed to be going well
> until I actually ran mapserv. It gave me this output:
>
> [gvkumar at server08 mapserver-3.6.5]$ ./mapserv
> ./mapserv: error while loading shared libraries: libgd.so.2: cannot open
> shared object file: No such file or directory
If you use apache 1.3.x, the way I do to resolve this problem:
1. check where the libgd.so.2? (/usr/local/lib?)
2. Then, add
setenv LD_LIBRARY_PATH "/usr/local/lib"
into the <... setenv...> ...</...> of your apache's httpd.conf.
-- jjkao
More information about the MapServer-users
mailing list