From: rob dot dickens at lafros dot com Operating system: Mac OS X 10.6.8 PHP version: 5.3.26 Package: *Compile Issues Bug Type: Bug Bug description:looks like /usr/local/pgsql/ hardwired
Description: ------------ make fails at the `ext/phar/phar.php` target: Generating phar.php dyld: Library not loaded: libpq.5.dylib Referenced from: /Users/Shared/php-5.3.25/sapi/cli/php Reason: image not found make: *** [ext/phar/phar.php] Trace/BPT trap This was even though I'd used --with-pgsql=/Library/PostgreSQL/9.2 (installer's default location). After reading* that php uses /usr/local/pgsql by default, I created a symbolic link, /usr/local/pgsql/lib/libpq.5.dylib -> /Library/PostgreSQL/9.2/lib/libpq.5.5.dylib, and then it worked. Have actually built PHP 5.3.25 but assume from changelog that this bug hasn't been fixed in 5.3.26. * http://www.php.net/manual/en/pgsql.installation.php -- Edit bug report at https://bugs.php.net/bug.php?id=64994&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64994&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64994&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64994&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=64994&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=64994&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=64994&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=64994&r=needscript Try newer version: https://bugs.php.net/fix.php?id=64994&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=64994&r=support Expected behavior: https://bugs.php.net/fix.php?id=64994&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=64994&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=64994&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=64994&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64994&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=64994&r=dst IIS Stability: https://bugs.php.net/fix.php?id=64994&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=64994&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=64994&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=64994&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=64994&r=mysqlcfg