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: 2021-03-07 04:22 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: rob dot dickens at lafros dot com Assigned: cmb (profile)
Status: No Feedback Package: *Compile Issues
PHP Version: 5.3.26 OS: Mac OS X 10.6.8
Private report: No CVE-ID: None
 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-02-23 12:58 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-02-23 12:58 UTC] cmb@php.net
I think this has been fixed in the meantime, or do you still face
that issue with any of the actively supported PHP versions[1]?

[1] <https://bugs.php.net/bug.php?id=78417>
 [2021-03-07 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 14:01:30 2024 UTC