Bug #66576 [Com]: phpdbg must link -lreadline during build
| From: | rainer dot jung at kippdata dot de | Date: | Sat, 25 Jan 2014 15:20:30 +0000 |
| Subject: | Bug #66576 [Com]: phpdbg must link -lreadline during build | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-184005@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66576&edit=1
ID: 66576
Comment by: rainer dot jung at kippdata dot de
Reported by: rainer dot jung at kippdata dot de
Summary: phpdbg must link -lreadline during build
Status: Open
Type: Bug
Package: phpdbg
Operating System: Linux
PHP Version: 5.6.0alpha1
Block user comment: N
Private report: N
New Comment:
Workaround: Add "-lreadline" to PHPDBG_EXTRA_LIBS.
The file needing libreadline is sapi/phpdbg/phpdbg_cmd.c.
Previous Comments:
------------------------------------------------------------------------
[2014-01-25 15:10:10] rainer dot jung at kippdata dot de
Description:
------------
phpdbg correctly uses readling header files during compilation but does not link against libreadline
during linking, so linkage fails because symbols readline and add_history are not know. Add
-lreadline to the linking flags if libreadline existence was detected.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66576&edit=1