Hello,
I just installed a Redhat 8.0 system and I want to compil php with the gd lib 2.0 to create images with truecolor option.
The lib gd is installed:
[root@nebula php-4.2.3]# rpm -ql gd
/usr/lib/libgd.so.2.0.0
/usr/share/doc/gd-2.0.1
/usr/share/doc/gd-2.0.1/readme.txt.gz
[root@nebula php-4.2.3]# ls -l /usr/lib/libgd.*
lrwxrwxrwx 1 root root 19 oct 9 14:33 /usr/lib/libgd.so -> /usr/lib/libgd.so.2
lrwxrwxrwx 1 root root 14 oct 9 14:24 /usr/lib/libgd.so.2 -> libgd.so.2.0.0
-rwxr-xr-x 1 root root 213968 aoĆ» 11 19:47 /usr/lib/libgd.so.2.0.0
And yet, when I try to configure php:
[root@nebula php-4.2.3]# ./configure --with-mysql --with-apache=../apache_1.3.27 --enable-track-vars --with-gd --with-jpeg-dir --with-png-dir --with-zlib-dir
The output is:
checking whether to enable FTP support... no
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... yes
checking for the location of libpng... yes
checking for png_write_image in -lpng... 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
configure: error: Unable to find libgd.(a|so) anywhere under /usr/local /usr
And yet gd is well installed, I don't understand :mad:
Please, I need your help.
Vincent.