Can't find libgd?
Hancock, Eric
Eric.Hancock at DEP.STATE.FL.US
Fri Aug 6 08:38:27 PDT 2004
Still can't find it....
debian:~eric/mapservsrc/mapserver-4.2.2# ls /usr/lib/libgd* -la
lrwxrwxrwx 1 root root 24 Aug 6 11:35 /usr/lib/libgd.so ->
/usr/lib/libgd.so.2.0.16
lrwxrwxrwx 1 root root 14 Aug 2 15:53 /usr/lib/libgd.so.1
-> libgd.so.1.8.4
-rw-r--r-- 1 root root 183204 Sep 21 2002
/usr/lib/libgd.so.1.8.4
lrwxrwxrwx 1 root root 15 Aug 2 16:47 /usr/lib/libgd.so.2
-> libgd.so.2.0.16
-rw-r--r-- 1 root root 208452 Dec 30 2003
/usr/lib/libgd.so.2.0.16
-Eric
-----Original Message-----
From: Alexandre Florio [mailto:aflorio at gisplan.com.br]
Sent: Friday, August 06, 2004 10:32 AM
To: Hancock, Eric
Cc: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] Can't find libgd?
It seems that you don't have the symbolic link. Do
ln -s /usr/lib/libgd.so.2.0.0 /usr/lib/libgd.so
and try again.
On Fri, 6 Aug 2004 11:20:40 -0400
"Hancock, Eric" <Eric.Hancock at DEP.STATE.FL.US> wrote:
> Hey all I'm having a problem with the configure script. Its unable to find
> libgd even when I specify where its located:
>
>
> ./configure --with-gd=/usr/lib --without-tiff --with-freetype --with-proj
> --with-ogr --with-gdal --with-wmsclient --with-sde=/home/eric/sdeexe83/
> --with-sde-version=83
>
> debian:~eric/mapservsrc/mapserver-4.2.2# ./configure --with-gd=/usr/lib
> --without-tiff --with-freetype --with-proj --with-ogr --with-gdal
> --with-wmsclient --with-sde=/home/eric/sdeexe83/ --with-sde-version=83
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for ranlib... ranlib
> checking for flex... flex
> checking for yywrap in -lfl... yes
> checking lex output file root... lex.yy
> checking whether yytext is a pointer... yes
> checking for bison... bison -y
> checking if compiler supports -R... no
> checking if compiler supports -Wl,-rpath,... yes
> checking for exp in -lm... yes
> checking for __gxx_personality_v0 in -lstdc++... no
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for strcasecmp... yes
> checking for strncasecmp... yes
> checking for strdup... yes
> checking for strlcat... no
> configure: checking where FreeType 2.x is installed......
> checking for freetype-config... no
> ./configure: no: command not found
> ./configure: no: command not found
> using libfreetype from
> checking for FT_Init_FreeType in -lfreetype... no
> freetype-config or libfreetype cannot be found, possibly needed for
> GD
> configure: checking where Zlib is installed......
> checking for zlibVersion in -lz... no
> Zlib (libz) library cannot be found, possibly needed for GD
> configure: checking where PNG is installed......
> checking for png_init_io in -lpng... no
> PNG (libpng) library cannot be found, possibly needed for GD
> configure: checking whether we should include JPEG support......
> checking for jpeg_read_header in -ljpeg... no
> libjpeg not found. JPEG support not included, possibly needed for
GD.
> configure: checking where libXpm is installed......
> checking for XpmFreeXpmImage in -lXpm... no
> XPM (libXpm) library cannot be found, possibly needed for GD
> configure: checking where libiconv is installed......
> checking for libiconv_open in -liconv... no
> libiconv library cannot be found, possibly needed for GD
> configure: checking for GD 2.0.12 or higher......
> checking for gdImageSetAntiAliased in -lgd... no
> configure: error: "Could not find gd.h or libgd.a/libgd.so in /usr/lib.
Make
> sure GD 2.0.12 or higher is compiled before calling configure."
> debian:~eric/mapservsrc/mapserver-4.2.2# locate libgd.so
> /usr/lib/libgd.so.1
> /usr/lib/libgd.so.1.8.4
> /usr/lib/libgd.so.2
> /usr/lib/libgd.so.2.0.16
>
> Any idea's???
>
> -Eric
>
More information about the MapServer-users
mailing list