Bug #66576 [Opn->Csd]: phpdbg must link -lreadline during build
| From: | krakjoe@php.net | Date: | Mon, 27 Jan 2014 07:40:28 +0000 |
| Subject: | Bug #66576 [Opn->Csd]: phpdbg must link -lreadline during build | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-184025@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
Updated by: krakjoe@php.net
Reported by: rainer dot jung at kippdata dot de
Summary: phpdbg must link -lreadline during build
-Status: Open
+Status: Closed
Type: Bug
Package: phpdbg
Operating System: Linux
PHP Version: 5.6.0alpha1
-Assigned To:
+Assigned To: krakjoe
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
This is fixed in the master repository for phpdbg, which will be merged into the php-src tree before
the next alpha release of 5.6
Previous Comments:
------------------------------------------------------------------------
[2014-01-25 15:20:29] rainer dot jung at kippdata dot de
Workaround: Add "-lreadline" to PHPDBG_EXTRA_LIBS.
The file needing libreadline is sapi/phpdbg/phpdbg_cmd.c.
------------------------------------------------------------------------
[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