[MacPorts] #20394: php5-readline: Unable to load dynamic library './readline.so'
MacPorts
noreply at macports.org
Tue Jul 21 18:13:34 PDT 2009
#20394: php5-readline: Unable to load dynamic library './readline.so'
---------------------------------+------------------------------------------
Reporter: trevor@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: php readline dlopen | Port: php5-readline
---------------------------------+------------------------------------------
When using the php5-readline port, attempting to launch PHP in interactive
mode (php -a) results in the following error:
PHP Warning: PHP Startup: Unable to load dynamic library
'./readline.so' - dlopen(./readline.so, 9): image not found in Unknown on
line 0
'''Steps to reproduce:'''
1. Run: sudo port install php5-readline[[BR]]
2. Run: php -a
'''Expected results:'''
I should get a 'php >' prompt.
'''Actual results:'''
I get the error described above, and then the PHP interpreter starts up
without readline support (no 'php >' prompt).
'''Notes:'''
I can get the error to go away by using the following command:
export LD_LIBRARY_PATH=/opt/local/lib/php/extensions/no-debug-non-
zts-20090626/
However, even without the error PHP still doesn't seem to be starting up
with readline support.
This used to work back when readline was a variant of the php5 port.
--
Ticket URL: <http://trac.macports.org/ticket/20394>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list