Compile cannot link when libedit is enabled
| Bug #35249 | Compile cannot link when libedit is enabled | ||||
|---|---|---|---|---|---|
| Submitted: | 2005-11-17 02:15 UTC | Modified: | 2005-11-21 08:32 UTC | ||
| From: | php-david at tulloh dot id dot au | Assigned: | sniper (profile) | ||
| Status: | Closed | Package: | Compile Failure | ||
| PHP Version: | 5.1.0RC6 | OS: | Debian Linux | ||
| Private report: | No | CVE-ID: | None | ||
[2005-11-17 02:15 UTC] php-david at tulloh dot id dot au
Description:
------------
Compile fails with libedit. I haven't used libedit for a while so I don't know when this problem was introduced.
/bin/sh /home/lod/Downloads/php-5.1.0RC5/libtool --silent --preserve-dup-deps --mode=link gcc -export-dynamic -g -O2 ext/date/php_date.lo [...] -o sapi/cli/php
sapi/cli/php_cli_readline.o(.text+0x8cc): In function `cli_code_completion':
/home/lod/Downloads/php-5.1.0RC5/sapi/cli/php_cli_readline.c:433: undefined reference to `rl_completion_matches'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Reproduce code:
---------------
reproducable configure line:
./configure \
'--disable-all' \
'--disable-cgi' \
'--enable-cli' \
'--with-libedit=shared,/usr'
libedit-dev is version 2.9.cvs.20040827-1, the debian stable version.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-11-17 09:24 UTC] sniper@php.net
[2005-11-17 09:37 UTC] sniper@php.net
[2005-11-18 04:03 UTC] php-david at tulloh dot id dot au
[2005-11-18 16:07 UTC] sniper@php.net
[2005-11-21 08:32 UTC] php-david at tulloh dot id dot au