From: <jc...@fe...> - 2002-11-27 18:37:04
|
On Wednesday 27 November 2002 17:58, Chunhui Pan wrote: | Hi, | | I grab gd.h v1.8.4 from http://www.boutell.com/gd/. | which matches libgd on my machine (Linux), | and setup lib link to /usr/lib, But it says | checking for main in -lgd... no | warning: gd library not found So now it does not complain about not founding gd.h. We are near.. Now it looks like 'configure' can't find the gd library, libgd.so. =46rom your words it looks like you only have extracted gd.h from the rpm= =20 package and have installed it alone, which is wrong, as more files=20 (include and libraries) are needed. Why don't you install it all? You can install it in /usr/local, as=20 'configure' search for it there, but the "standard" place is safer. On my system, I have the following installed: [jcard@feup] rpm -ql gd /usr/bin/gd2copypal /usr/bin/gd2topng /usr/bin/gdparttopng /usr/bin/gdtojpeg /usr/bin/gdtopng /usr/bin/pngtogd /usr/bin/pngtogd2 /usr/bin/webpng /usr/lib/libgd.so.4 <<---------------- /usr/lib/libgd.so.4.0.0 <<---------------- /usr/share/doc/packages/gd /usr/share/doc/packages/gd/AUTHORS /usr/share/doc/packages/gd/COPYING /usr/share/doc/packages/gd/INSTALL /usr/share/doc/packages/gd/NEWS /usr/share/doc/packages/gd/README /usr/share/doc/packages/gd/index.html [jcard@feup] rpm -ql gd-devel /usr/include/gd.h /usr/include/gd_io.h /usr/include/gdfontg.h /usr/include/gdfontl.h /usr/include/gdfontmb.h /usr/include/gdfonts.h /usr/include/gdfontt.h /usr/include/gdhelpers.h /usr/include/jisx0208.h /usr/include/wbmp.h /usr/lib/libgd.a /usr/lib/libgd.la /usr/lib/libgd.so <<---------------- [jcard@feup]=20 | | Even I install a new lib, it is still like this.. | | Anyone can help me? |