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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rob dot dickens at lafros dot com
New email:
PHP Version: OS:

 

 [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 14:01:26 2019 UTC