From: rick at revenew dot nl Operating system: Debian Sarge (pure64) PHP version: 5.1.2 PHP Bug Type: PDF related Bug description: pdflib won't load in sapi, cli is fine
Description: ------------ When I try to load pdflib in the apache sapi module of php, it fails to load SAPI: [01-Feb-2006 16:32:34] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5-ext/libpdf_php.so' - /usr/local/php5-ext/libpdf_php.so: undefined symbol: _zval_ptr_dtor in Unknown on line 0 CLI: # echo '<?php phpinfo(); ?>'|/usr/local/php5/bin/php|grep -i pdf > pdf > PDF Support => enabled > PDFlib GmbH Binary-Version => 6.0.2p6 The same thing happens with the precompiled pdflib module from pdflib.com and a self-compiled version from PECL. I also tested the latest php cvs snapshot (php5.1-200602011330). The same things happens. Reproduce code: --------------- none Expected result: ---------------- pdflib module loaded Actual result: -------------- pdflib module won't load -- Edit bug report at http://bugs.php.net/?id=36247&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36247&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36247&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36247&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36247&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36247&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36247&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36247&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36247&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36247&r=support Expected behavior: http://bugs.php.net/fix.php?id=36247&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36247&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36247&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36247&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36247&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36247&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36247&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36247&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36247&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36247&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36247&r=mysqlcfg