GD not loading
| From: | Anibal | Date: | Thu, 12 Dec 2002 13:20:12 +0000 |
| Subject: | GD not loading | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9365@lists.php.net to get a copy of this message | ||
I
m trying to load GDlib in PHP, but its not working. Everything
seems to be OK, but when i try to execute some GD function, i get error.
What is happening ? Ideas ?
I recompiled PHP with:
./configure --with-mysql --with-apxs --enable-dbase --with-gd
--with-gd-lib=/usr/local/lib --with-jpeg-dir=/usr/src/jpeg-6b
--with-png-dir=/usr/src/libpng-1.2.5 --with-zlib
--with-zlib-dir=/usr/src/zlib-1.1.4
The versions are: php-4.2.3, gd-2.0.8 (with the patch), jpeg-6b,
libpng-1.2.5, and zlib-1.1.4
Configure gets:
checking for GD support... yes
checking whether to enable truetype string function in GD... no
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for the location of libpng... yes
checking for png_write_image in -lpng... (cached) yes
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... no
If configure fails try --with-freetype-dir=<DIR>
checking for FreeType 1.x support... no
checking for T1lib support... no
checking for gdImageString16 in -lgd... (cached) yes
checking for gdImagePaletteCopy in -lgd... (cached) yes
checking for gdImageCreateFromPng in -lgd... (cached) yes
checking for gdImageCreateFromGif in -lgd... (cached) no
checking for gdImageGif in -lgd... (cached) no
checking for gdImageWBMP in -lgd... (cached) yes
checking for gdImageCreateFromJpeg in -lgd... (cached) yes
checking for gdImageCreateFromXpm in -lgd... (cached) yes
checking for gdImageCreateFromGd2 in -lgd... (cached) yes
checking for gdImageCreateTrueColor in -lgd... (cached) no
And i receive no errors compiling or installing.
Please, i'm lost.
Thanks,
Anibal