php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64994 looks like /usr/local/pgsql/ hardwired
Submitted: 2013-06-08 12:48 UTC Modified: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: rob dot dickens at lafros dot com Assigned:
Status: Open Package: *Compile Issues
PHP Version: 5.3.26 OS: Mac OS X 10.6.8
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-06-08 12:48 UTC] rob dot dickens at lafros dot com
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Aug 21 15:01:27 2019 UTC