compile php with GD2
| From: | Hendrik | Date: | Fri, 01 Mar 2002 18:59:43 +0000 |
| Subject: | compile php with GD2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86822@lists.php.net to get a copy of this message | ||
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