#22722 [Com]: make failed with --with-gd
| From: | alasdair at alivewww dot com | Date: | Mon, 09 Jun 2003 21:30:19 +0000 |
| Subject: | #22722 [Com]: make failed with --with-gd | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41558@lists.php.net to get a copy of this message | ||
ID: 22722
Comment by: alasdair at alivewww dot com
Reported By: libser at manas dot kg
Status: Closed
Bug Type: GD related
Operating System: FreeBSD 4.8-RC
PHP Version: 4.3.2RC1
New Comment:
I'm having exactly the same problem - except I only have one version of
GD installed:
psa1# cd /usr/local/lib
psa1# ls -al | grep libgd
-r--r--r-- 1 root wheel 235664 Feb 26 03:24 libgd.a
lrwxr-xr-x 1 root wheel 10 Apr 8 11:12 libgd.so ->
libgd.so.4
-r--r--r-- 1 root wheel 211044 Feb 26 03:24 libgd.so.4
This is not a bogus or closed bug - a perfectly valid installation of
GDLib 2.0.1 is present, and PHP 4.3.1 compiled without problem.
GD was installed from the FreeBSD ports collection, and the system is
FreeBSD 4.7-RELEASE.
If there is any other information that may help find the cause of this
bug, please let me know so I can post that information.
Previous Comments:
------------------------------------------------------------------------
[2003-03-17 04:34:17] libser at manas dot kg
Hi,
Thank you for your response.
Yes, both are installed under /usr/local:
#cd /usr/local/lib
#ls -al | grep libgd
-r--r--r-- 1 root wheel 235654 Feb 12 10:03 libgd.a
lrwxr-xr-x 1 root wheel 10 Feb 12 10:03 libgd.so -> libgd.so.4
-r--r--r-- 1 root wheel 194112 Dec 17 09:54 libgd.so.2
-r--r--r-- 1 root wheel 210980 Feb 12 10:03 libgd.so.4
I just tried using the bundled GD library you mentioned before and it
compiles fine.
Thank you.
------------------------------------------------------------------------
[2003-03-15 23:18:37] sniper@php.net
You mention 2 different GD versions, where are they installed? Both
under /usr/local ? Or other one under /usr/ perhaps?
Try using the bundled GD library. (use just '--with-gd')
------------------------------------------------------------------------
[2003-03-15 01:55:50] libser at manas dot kg
Good day,
FreeBSD 4.8-RC, Apache 2.0.44, PHP 4.3.2RC1
#pkg_info | grep gd
gd-1.8.4_6 A graphics library for fast image creation
gd-2.0.1_3 A graphics library for fast creation of images
./configure \
--prefix=/usr/local/php4 \
--with-apxs2=/usr/local/sbin/apxs \
--with-zlib=/usr \
--with-mysql=/usr/local \
--with-gettext=/usr/local \
--with-mm=/usr/local \
--with-imap=../imap \
--with-imap-ssl \
--enable-ftp \
--with-expat=/usr/local \
--with-mcrypt=/usr/local \
--with-mcal=/usr/local \
--with-openssl \
--with-dom=/usr/local \
--with-iconv=/usr/local \
--enable-mime-magic \
--with-xml=/usr/local \
--enable-mbstring \
--with-tsrm-pth \
--with-gd=/usr/local
Here is the error message after running
make:
ext/gd/gd.lo: In function `zm_deactivate_gd':
/usr/tmp/complete_new/php-4.3.2RC1/ext/gd/gd.c:380: undefined reference
to `gdFreeFontCache'
*** Error code 1
Stop in /usr/tmp/complete_new/php-4.3.2RC1.
PHP 4.3.0 with the same configure options compiles just fine.
Thank you.
Roman
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22722&edit=1