#24770 [Fbk->Csd]: gd lib function undefined in final build process
ID: 24770
User updated by: tim at subscriberbase dot com
Reported By: tim at subscriberbase dot com
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: Red hat 8.0
PHP Version: 5.0.0b1 (beta1)
New Comment:
That fixed it.
Previous Comments:
------------------------------------------------------------------------
[2003-07-23 13:18:38] iliaa@php.net
Try using the bundled gd library.
------------------------------------------------------------------------
[2003-07-23 13:01:05] tim at subscriberbase dot com
Description:
------------
Building php5-b1 on this machine breaks with this error. However on the
exact same machine this works on php4.3.3-RC1
ext/gd/gd.o: In function `zm_deactivate_gd':
/data/BUILD/php5/ext/gd/gd.c:437: undefined reference to
`gdFreeFontCache'
collect2: ld returned 1 exit status
I am using gdlib 2.0.15
The configuration is listed below
Reproduce code:
---------------
./configure --prefix=/php5 \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-tiff-dir="/usr/local" \
--with-freetype-dir=/usr/local \
--with-zlib-dir=/usr/local \
--with-gettext \
--with-mcrypt=/usr/local \
--with-ming=/usr/local \
--with-mhash=/usr/local \
--with-mysql=/usr/local \
--with-zlib=/usr/local \
--with-ncurses=/usr/local \
--with-unixODBC=/usr/local/unixODBC \
--with-xml \
--with-calendar=shared \
--with-freetype=/usr/local \
--with-ttf=/usr/local \
--with-bz2 \
--with-dom \
--enable-localizer \
--enable-bcmath \
--enable-calendar \
--enable-dio \
--enable-exif \
--enable-ftp \
--enable-shmop \
--enable-sigchild \
--enable-sockets \
--enable-track-vars \
--enable-magic-quotes \
--enable-trans-sid \
--enable-libgcc \
--enable-wddx \
--enable-sysvshm \
--enable-sysvsem \
--enable-sysvmsg \
--enable-mbstring \
--enable-versioning \
--enable-mailparse
Expected result:
----------------
Completed php binary
Actual result:
--------------
ext/gd/gd.o: In function `zm_deactivate_gd':
/data/BUILD/php5/ext/gd/gd.c:437: undefined reference to
`gdFreeFontCache'
collect2: ld returned 1 exit status
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24770&edit=1
Thread (3 messages)