From: Operating system: Debian Squeeze PHP version: 5.4.2 Package: Compile Failure Bug Type: Bug Bug description:GD compile error AND possible no php extension:
Description: ------------ While Compiling (make) gd failed to compile, leaving gd_lib, compiles fine, but php -v returns warning/error: Invalid library (maybe not a PHP library) 'pdo_mysql.so' in Unknown on line 0 make clean also tried... Test script: --------------- ./configure --with-gd=shared,/usr/local/gd_full --with-pdo=shared --enable-shared --with-curl=shared --with-curlwrappers --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-mcrypt=shared --with-zlib=shared --enable-mbstring=shared --with-openssl=shared --with-imap=shared --with-kerberos --with-mysql-sock --with-pdo-mysql=shared --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/apache2 --with-config-file-scan-dir=/etc/php5/apache2/conf.d --with-imap-ssl make make install Expected result: ---------------- No compile error :D Actual result: -------------- -> After Compile without gd PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'pdo_mysql.so' in Unknown on line 0 -> While Compile with gd /tmp/php/php-5.4.2/ext/gd/gd_ctx.c: In function â_php_image_stream_putcâ: /tmp/php/php-5.4.2/ext/gd/gd_ctx.c:51: error: âstruct gdIOCtxâ has no member named âdataâ /tmp/php/php-5.4.2/ext/gd/gd_ctx.c: In function â_php_image_stream_putbufâ: /tmp/php/php-5.4.2/ext/gd/gd_ctx.c:58: error: âstruct gdIOCtxâ has no member named âdataâ /tmp/php/php-5.4.2/ext/gd/gd_ctx.c: In function â_php_image_stream_ctxfreeâ: /tmp/php/php-5.4.2/ext/gd/gd_ctx.c:67: error: âstruct gdIOCtxâ has no member named âdataâ /tmp/php/php-5.4.2/ext/gd/gd_ctx.c:68: error: âstruct gdIOCtxâ has no member named âdataâ /tmp/php/php-5.4.2/ext/gd/gd_ctx.c:69: error: âstruct gdIOCtxâ has no member named âdataâ -- Edit bug report at https://bugs.php.net/bug.php?id=61960&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61960&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61960&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61960&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61960&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61960&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61960&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61960&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61960&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61960&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61960&r=support Expected behavior: https://bugs.php.net/fix.php?id=61960&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61960&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61960&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61960&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61960&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61960&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61960&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61960&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61960&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61960&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61960&r=mysqlcfg