ID: 35249
Updated by: [EMAIL PROTECTED]
Reported By: php-david at tulloh dot id dot au
Status: Open
Bug Type: Compile Failure
Operating System: Debian Linux
PHP Version: 5.1.0RC5
New Comment:
Fast fix: NEVER EVER compile anything as shared. :)
Previous Comments:
------------------------------------------------------------------------
[2005-11-17 02:15:41] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35249&edit=1