Thanks Gregor, that got me a little farther along!
So ... I recompiled GD without Xpm.  That worked and I was able to make the mapserv executable.
Then I copied it to the cgi-bin directory in my account.
When I put the URL
http://www.alt2is.com/cgi-bin/mapserv?
into my browser I get
500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.
I don't know how to "check the server logs"
I got a copy of Tyler Mitchell's book and have been checking the Mapserver installation chapter there.
So I tried
./mapserv -v
The results was
./mapserv: error while loading shared libraries: libgdal.so.1: cannot open shared object file: No such file or directory

Any suggestions anyone?


Tara

Gregor Mosheh wrote:
/usr/bin/ld: warning: libXpm.so.4, needed by /home/alttwois/lib/gd-2.0.35/.libs/libgd.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libX11.so.6, needed by /home/alttwois/lib/gd-2.0.35/.libs/libgd.so, not found (try using -rpath or -rpath-link)
/home/alttwois/lib/gd-2.0.35/.libs/libgd.so: undefined reference to `XpmReadFileToXpmImage'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

There ya go -- your GD was compiled with Xpm support, but the Xpm library isn't found. Try this:
   ldconfig -p | grep -i xpm
That'll show whether Xpm is installed.

Alternative:
If you compiled GD yourself, and my memory serves, you can give --without-x to have it skip X-Window stuff. You won't miss it. :)

Reply via email to