#22722 [Fbk->Csd]: make failed with --with-gd
ID: 22722
User updated by: libser at manas dot kg
Reported By: libser at manas dot kg
-Status: Feedback
+Status: Closed
Bug Type: GD related
Operating System: FreeBSD 4.8-RC
PHP Version: 4.3.2RC1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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
Thread (5 messages)