Bug #78348 [NEW]: Remove -lrt from pdo_sqlite.so because fdatasync removed in 5.3

From: Date: Mon, 29 Jul 2019 12:07:19 +0000
Subject: Bug #78348 [NEW]: Remove -lrt from pdo_sqlite.so because fdatasync removed in 5.3
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221988@lists.php.net to get a copy of this message
From: rainer dot jung at kippdata dot de Operating system: Solaris PHP version: 7.4.0beta1 Package: PDO SQLite Bug Type: Bug Bug description:Remove -lrt from pdo_sqlite.so because fdatasync removed in 5.3 Description: ------------ PDO SQLite still contains the following configure test in its config.m4: dnl Solaris fix PHP_CHECK_LIBRARY(rt, fdatasync, [PHP_ADD_LIBRARY(rt,, PDO_SQLITE_SHARED_LIBADD)]) This check can be dropped, because the fdatasync was only used inside the bundled sqlite, but starting with 5.3 sqlite is no longer bundled but expected as an external dependency. So libsqlite3.so itself would have that dependency, but the pdo-sqlite.so extension should not have an entry for -lrt any more. You can simply drop the two lines from ext/pdo_sqlite/config.m4 (and regenerate configure). This applies to any PHP version starting with 5.3 and up until 7.4beta1. Note that older bugs are about fdatasync being used but -lrt missing. This is about fdatasync no longer being used but -lrt still present. -- Edit bug report at https://bugs.php.net/bug.php?id=78348&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78348&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78348&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78348&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=78348&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78348&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78348&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78348&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78348&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78348&r=support Expected behavior: https://bugs.php.net/fix.php?id=78348&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78348&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78348&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78348&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78348&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=78348&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78348&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78348&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78348&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78348&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78348&r=mysqlcfg

« previous php.bugs (#221988) next »