<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed" style="font-size: 16px;" lang="x-western">Thanks
Gregor, that got me a little farther along!
<br>
So ... I recompiled GD without Xpm.&nbsp; That worked and I was able to make
the mapserv executable.
<br>
Then I copied it to the cgi-bin directory in my account.
<br>
When I put the URL
<br>
<a class="moz-txt-link-freetext"
 href="http://www.alt2is.com/cgi-bin/mapserv">http://www.alt2is.com/cgi-bin/mapserv</a>?
<br>
into my browser I get
<br>
500 Server Error
<br>
A misconfiguration on the server caused a hiccup. Check the server
logs, fix the problem, then try again.
<br>
I don't know how to "check the server logs"
<br>
I got a copy of Tyler Mitchell's book and have been checking the
Mapserver installation chapter there.<br>
So I tried<br>
./mapserv -v<br>
The results was<br>
./mapserv: error while loading shared libraries: libgdal.so.1: cannot
open shared object file: No such file or directory<br>
<br>
Any suggestions anyone?<br>
<br>
<br>
Tara
<br>
<br>
Gregor Mosheh wrote:
<br>
<blockquote type="cite">
  <blockquote type="cite">/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)
    <br>
/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)
    <br>
/home/alttwois/lib/gd-2.0.35/.libs/libgd.so: undefined reference to
`XpmReadFileToXpmImage'
    <br>
collect2: ld returned 1 exit status
    <br>
make: *** [shp2img] Error 1
    <br>
  </blockquote>
  <br>
There ya go -- your GD was compiled with Xpm support, but the Xpm
library isn't found. Try this:
  <br>
&nbsp;&nbsp; ldconfig -p | grep -i xpm
  <br>
That'll show whether Xpm is installed.
  <br>
  <br>
Alternative:
  <br>
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. <span
 class="moz-smiley-s1"><span> :) </span></span>
  <br>
</blockquote>
</div>
</body>
</html>