dave,<br>
<br>
i got this error just yesterday. <br>
<br>
the configure worked for me after re-installing gd with fontconfig support (this was on a gentoo machine)<br>
<br>
if you notice, the output just before configure bails is - 
checking for gdFontCacheSetup in -lgd... no<br><br>
configure.log might be able to give you more ideas as well. i&#39;d try the fontconfig support first.<br>
<br>
ak<br>
<br><div><span class="gmail_quote">On 5/15/08, <b class="gmail_sendername">TallDave</b> &lt;<a href="mailto:notice@davidbianco.net">notice@davidbianco.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> First time mapserver install.&nbsp;&nbsp; Below is my config script and output.&nbsp;&nbsp;Any<br> insight into why libgd is not working out here?&nbsp;&nbsp;&nbsp;&nbsp;I am running this on<br> Solaris 9.&nbsp;&nbsp;As you can see libgd.so definitely exists in the required<br>
 directory and it has no problem accessing jpeg, freetype, png, iconv.<br> <br> Thanks!<br> Dave<br> <br> unix:mapserver-5.0.2&gt; cat conf_mapserv.sh<br> # MapServer configure command<br> # May 2 2008<br> <br> ./configure --with-debug \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--with-freetype \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--with-zlib \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--with-png \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--with-jpeg \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--with-libiconv \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp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l-config&nbsp;&nbsp;\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--with-warnings \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--enable-debug<br> <br> <br> <br> unix:mapserver-5.0.2&gt; cat install_mapserver.log<br> checking for gcc... gcc<br>
 checking for C compiler default output file name... a.out<br> checking whether the C compiler works... yes<br> checking whether we are cross compiling... no<br> checking for suffix of executables...<br> checking for suffix of object files... o<br>
 checking whether we are using the GNU C compiler... yes<br> checking whether gcc accepts -g... yes<br> checking for gcc option to accept ANSI C... none needed<br> checking for g++... g++<br> checking whether we are using the GNU C++ compiler... yes<br>
 checking whether g++ accepts -g... yes<br> checking for ranlib... ranlib<br> checking for flex... flex<br> checking for yywrap in -lfl... yes<br> checking lex output file root... lex.yy<br> checking whether yytext is a pointer... yes<br>
 checking for bison... bison -y<br> checking if compiler supports -R... yes<br> checking for exp in -lm... yes<br> checking for __gxx_personality_v0 in -lstdc++... yes<br> checking how to run the C preprocessor... gcc -E<br>
 checking for egrep... grep -E<br> checking for ANSI C header files... yes<br> checking for strcasecmp... yes<br> checking for strncasecmp... yes<br> checking for strdup... yes<br> checking for strlcat... yes<br> checking for vsnprintf... yes<br>
 MapServer Version from mapserver.h: &#39;5.0.2&#39;<br> configure: checking where FreeType 2.x is installed...<br> checking for freetype-config... /usr/local/bin/freetype-config<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;using libfreetype from -L/usr/local/lib -R/usr/local/lib -lfreetype<br>
 -lz<br> checking for FT_Init_FreeType in -lfreetype... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;using libfreetype -lfreetype from system libs.<br> configure: checking where Zlib is installed...<br> checking for zlibVersion in -lz... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;using libz from system libs (-DUSE_ZLIB).<br>
 configure: checking where PNG is installed...<br> checking for png_init_io in -lpng... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;using libpng from system libs.<br> configure: checking whether we should include JPEG support...<br> checking for jpeg_read_header in -ljpeg... yes<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;using libjpeg from system libs.<br> configure: checking where libXpm is installed...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;using libXpm from -L/lib -lXpm -lX11<br> configure: checking where libiconv is installed...<br> checking for iconv_open in -lc... yes<br>
 checking for libiconv_open in -liconv... yes<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;using libiconv from -L -liconv<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;libiconv found. Enabling internationalization (-DUSE_ICONV)<br> configure: checking for GD 2.0.16 or higher...<br> checking for gdFontCacheSetup in -lgd... no<br>
 configure: checking whether GD needs libiconv...<br> checking for gdFontCacheSetup in -lgd... no<br> configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/local/lib.<br> Make sure GD 2.0.16 or higher is compiled before calling configure. You may<br>
 also get this error if you didn&#39;t specify the appropriate location for one<br> of GD&#39;s dependencies (freetype, libpng, libjpeg or libiconv).<br> <br> unix:mapserver-5.0.2&gt; ls -l /usr/local/lib/libgd.*<br>
-rw-r--r--&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
other&nbsp;&nbsp;&nbsp;&nbsp; 806416 May&nbsp;&nbsp;2 14:33
/usr/local/lib/libgd.a<br> -rwxr-xr-x&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; other&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1055 May&nbsp;&nbsp;2 14:33<br> /usr/local/lib/<a href="http://libgd.la">libgd.la</a>*<br>
lrwxrwxrwx&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
other&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14
May&nbsp;&nbsp;2 14:33<br> /usr/local/lib/libgd.so -&gt; libgd.so.2.0.0*<br>
lrwxrwxrwx&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
other&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14
May&nbsp;&nbsp;2 14:33<br> /usr/local/lib/libgd.so.2 -&gt; libgd.so.2.0.0*<br> -rwxr-xr-x&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp; other&nbsp;&nbsp;&nbsp;&nbsp; 815700 May&nbsp;&nbsp;2 14:33<br> /usr/local/lib/libgd.so.2.0.0*<br> <br> unix:mapserver-5.0.2&gt; grep VERSION /usr/local/include/gd.h<br>
 #define GD_MAJOR_VERSION 2<br> #define GD_MINOR_VERSION 0<br> #define GD_RELEASE_VERSION 35<br> #define GD_EXTRA_VERSION &quot;&quot;<br> #define GD_VERSION_STRING &quot;2.0.35&quot;<br> <br><br> --<br> View this message in context: <a href="http://www.nabble.com/GD-2.0.35-installed-but-not-found-tp17262832p17262832.html">http://www.nabble.com/GD-2.0.35-installed-but-not-found-tp17262832p17262832.html</a><br>
 Sent from the Mapserver - User mailing list archive at Nabble.com.<br> <br> _______________________________________________<br> mapserver-users mailing list<br> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
 <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br> </blockquote></div><br>