You never put "lib" in a PHP configure flag. Read the INSTALL file carefully, please. It should just be --with-gd=/usr since it also needs to find the gd header files which are nowhere under /usr/lib
On Fri, 1 Mar 2002, Hendrik wrote: > hi there, > > i tried to compile php with GD2 support and the following configure line: > > ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-curl >--with-swf=/usr/local/flash --enable-ftp --with-gd=/usr/lib >--with-jpeg-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-png-dir=/usr --with-imap >--with-ming --enable-magic-quotes --with-mysql --enable-safe-mode --enable-track-vars >--with-ttf --enable-versioning --with-zlib > > > > > ...but i allways get the following error: > > > > checking whether to include include FreeType 1.x support... yes > checking whether to include T1lib support... no > configure: error: Unable to find libgd.(a|so) anywhere under yes > > > > > Problem is, that the libgd.a file IS located in /usr/lib, as set in --with-gd, but >it doesnt matter how i edit the line, i allways get this error. > > Does anyone have an idea, what i could try to get it compiled? > > > > Regards, > > > > Duncan > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php