From: till at klimpong dot com Operating system: FreeBSD 4.6 PHP version: 4.3.7 PHP Bug Type: Compile Failure Bug description: compiling with internal GD lib fails
Description: ------------ I'm using 4.3.7 stable. Configure string: ./configure \ --with-apxs=/usr/local/sbin/apxs \ --with-config-file-path=/usr/local/etc \ --enable-versioning \ --with-regex=system \ --with-pgsql \ --with-gd \ --enable-gd-native-ttf \ --with-freetype-dir=/usr/local \ --with-jpeg-dir=/usr/local \ --with-png-dir=/usr/local \ --with-zlib \ --with-bz2=/usr \ --with-mcrypt=/usr/local \ --with-mhash=/usr/local \ --with-pdflib=/usr/local \ --with-zlib-dir=/usr \ --with-jpeg-dir=/usr/local \ --with-png-dir=/usr/local \ --with-tiff-dir=/usr/local \ --with-mysql=/usr/local/mysql4 \ --with-expat-dir=/usr/local \ --with-xmlrpc \ --enable-xslt \ --with-xslt-sablot \ --enable-wddx \ --with-dom=/usr/local \ --enable-ftp \ --with-gettext=/usr/local \ --enable-mbregex \ --enable-bcmath \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --enable-trans-sid \ --with-iconv=/usr/local \ --enable-exif \ --enable-track-vars \ --with-imap \ --with-mcal \ --with-pear \ --with-openssl=/usr/local \ --disable-ipv6 Make fails with: ext/gd/gd.lo: In function `zif_imagegif': /usr/src/php-4.3.7/ext/gd/gd.c(.text+0x3d24): undefined reference to `gdImageGifCtx' ext/gd/gd.lo: In function `zif_imagecolorat': /usr/src/php-4.3.7/ext/gd/gd.c:1874: undefined reference to `gdImageBoundsSafe' /usr/src/php-4.3.7/ext/gd/gd.c:1882: undefined reference to `gdImageBoundsSafe' ext/pdf/pdf.lo: In function `zif_pdf_open_memory_image': /usr/src/php-4.3.7/ext/pdf/pdf.c(.text+0x6067): undefined reference to `gdImageBoundsSafe' /usr/src/php-4.3.7/ext/pdf/pdf.c(.text+0x60aa): undefined reference to `gdImageBoundsSafe' *** Error code 1 I searched multipe mailing lists, no answer was provided. I also tried the latest snapshot: http://snaps.php.net/php4-STABLE-200406071230.tar.gz Same configure string, but the make and make install worked perfectly. Now my problem is that this _always_ works in the snapshots, but it's "messed up" in the stable release, which is why I thought I'd report it anyway. -- Edit bug report at http://bugs.php.net/?id=28675&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28675&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28675&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28675&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28675&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28675&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28675&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28675&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28675&r=support Expected behavior: http://bugs.php.net/fix.php?id=28675&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28675&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28675&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28675&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28675&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28675&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28675&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28675&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28675&r=float