errors installing gd for EMBOSS usage

From: Date: Wed, 30 Jun 2010 11:46:09 +0000
Subject: errors installing gd for EMBOSS usage
Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-669@lists.php.net to get a copy of this message
Hello; I'm trying to install gd library in order to be able to get graphics in EMBOSS. I am installing the libraries in a specific directory /home/montse/local I have installed there zlib (zlib-1.2.5) and libpng (libpng-1.2.44) (with make install and make install-headers). I do: ../configure --prefix=/home/montse/local --with-png=/home/montse/local --with-zlib-dir=/home/montse/local And then make And I get this error: gcc -shared  .libs/gd.o .libs/gdfx.o .libs/gd_security.o .libs/gd_gd.o .libs/gd_gd2.o .libs/gd_io.o .libs/gd_io_dp.o .libs/gd_gif_in.o .libs/gd_gif_out.o .libs/gd_io_file.o .libs/gd_io_ss.o .libs/gd_jpeg.o .libs/gd_png.o .libs/gd_ss.o .libs/gd_topal.o .libs/gd_wbmp.o .libs/gdcache.o .libs/gdfontg.o .libs/gdfontl.o .libs/gdfontmb.o .libs/gdfonts.o .libs/gdfontt.o .libs/gdft.o .libs/gdhelpers.o .libs/gdkanji.o .libs/gdtables.o .libs/gdxpm.o .libs/wbmp.o  -L/usr/lib -lXpm -lX11 -lpng12 -lz -lm  -Wl,-soname -Wl,libgd.so.2 -o .libs/libgd.so.2.0.0 (cd .libs && rm -f libgd.so.2 && ln -s libgd.so.2.0.0 libgd.so.2) (cd .libs && rm -f libgd.so && ln -s libgd.so.2.0.0 libgd.so) ar cru .libs/libgd.a  gd.o gdfx.o gd_security.o gd_gd.o gd_gd2.o gd_io.o gd_io_dp.o gd_gif_in.o gd_gif_out.o gd_io_file.o gd_io_ss.o gd_jpeg.o gd_png.o gd_ss.o gd_topal.o gd_wbmp.o gdcache.o gdfontg.o gdfontl.o gdfontmb.o gdfonts.o gdfontt.o gdft.o gdhelpers.o gdkanji.o gdtables.o gdxpm.o wbmp.o ranlib .libs/libgd.a creating libgd.la (cd .libs && rm -f libgd.la && ln -s ../libgd.la libgd.la) /bin/bash ./libtool --tag=CC --mode=link gcc  -g -O2  -L/usr/lib  -o annotate  annotate.o ./libgd.la  -lXpm -lX11 -lpng12 -lz -lm gcc -g -O2 -o .libs/annotate annotate.o  -L/usr/lib ./.libs/libgd.so -lXpm -lX11 -lpng12 -lz -lm -Wl,--rpath -Wl,/home/montse/local/lib ../.libs/libgd.so: undefined reference to `euncompress' ../.libs/libgd.so: undefined reference to `ecompress' collect2: ld returned 1 exit status make[2]: *** [annotate] Error 1 make[2]: Leaving directory `/home/montse/gd-2.0.35' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/montse/gd-2.0.35' make: *** [all] Error 2 And it doesn't get installed in /home/montse/local When I install EMBOSS with: ../configure --with-pngdriver=/home/montse/local --x-includes=/usr/share/X11 --x-libraries=/usr/share/X11 And try to run a program that requires graphics I get the following message: Devices allowed (with alternative names) are:- ps (postscript) hpgl hp7470 hp7580 meta cps (colourps) x11 (xwindows) tek (tek4107t) tekt (tektronics) none (null, text) data xterm Error: Invalid graph value 'png' Died: pepnet terminated: Bad value for '-graph' with -auto defined The curious thing is that two weeks ago it was working properly, it showed the graphics but showed an error message: libpng12.so.0: no version information available. Trying to fix that (by installing different versions on libpng) I crashed it and now I can't make it work again. Do you know why gd is not getting installed? Thank you very much. Montse Torres

« previous php.gd.devel (#669) next »