I'm having a problem building php-4.2.3 on RedHat Linux 7.2 with gd
enabled... Here is the configure command I'm using.

./configure --prefix=/www3 --with-mysql --with-apxs=/www3/bin/apxs --enable-
track-vars --with-gd=/usr/lib --enable-gd-native-ttf --with-jpeg-dir=/usr/li
b --with-png-dir=/usr/lib --with-freetype-dir=/usr/local/lib --with-ttf=/usr
/lib --with-zlib-dir=/usr/include

I've tried using different gd options..
--with-gd=/usr/local/include (I compiled gd 2.0.11 from source into this
directory)

When I do 'rpm -q --filesbypkg gd'  library locations are:
    gd                        /usr/lib/libgd.so.1
    gd                        /usr/lib/libgd.so.1.8
    gd                        /usr/lib/libgd.so.1.8.4

Here is the last bit of my ./configure command ... and the error.
------------------------------------------------------------------
checking for GD support... yes
checking whether to enable truetype string function in GD... yes
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)... yes
checking for FreeType 1.x support... yes
no - FreeType 2.x is to be used instead
checking for T1lib support... no
configure: error: Unable to find libgd.(a|so) anywhere under /usr/lib
------------------------------------------------------------------

If anyone can point me in the right direction I would appreciate it.

--
Chris ([EMAIL PROTECTED])



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to