From: mmarek at suse dot cz Operating system: Linux PHP version: 5.2.2 PHP Bug Type: *Compile Issues Bug description: ext/dba/config.m4 pollutes global $LIBS and $LDFLAGS
Description: ------------ --enable-dba=shared --with-db4=... causes the main php binary be linked against libdb-4.x. It's because the test in ext/dba/config.m4 fails to reset $LIBS and $LDFLAGS. I'll attach a patch. Reproduce code: --------------- compile with the above options Expected result: ---------------- the cli binary / apache module not linked against libdb-4.x Actual result: -------------- ldd -u -r /usr/bin/php5 Unused direct dependencies: /usr/lib64/libdb-4.4.so /lib64/libnsl.so.1 /lib64/libz.so.1 -- Edit bug report at http://bugs.php.net/?id=41455&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41455&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41455&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41455&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41455&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41455&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41455&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41455&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41455&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41455&r=support Expected behavior: http://bugs.php.net/fix.php?id=41455&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41455&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41455&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41455&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41455&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41455&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41455&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41455&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41455&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41455&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41455&r=mysqlcfg