#24770 [NEW]: gd lib function undefined in final build process
From: tim at subscriberbase dot com
Operating system: Red hat 8.0
PHP version: 5.0.0b1 (beta1)
PHP Bug Type: Compile Failure
Bug description: gd lib function undefined in final build process
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 bug report at http://bugs.php.net/?id=24770&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24770&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24770&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24770&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24770&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24770&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24770&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24770&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24770&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24770&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24770&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24770&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24770&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24770&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24770&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24770&r=gnused
Thread (3 messages)
- tim at subscriberbase dot com