Package: libedit2
Version: 2.9.cvs.20050518-2
Severity: normal
Tags: patch

My compiled readline.so extension for PHP5 reports:

<b>Warning</b>:  dl() [<a href='function.dl'>function.dl</a>]: Unable to load 
dynamic library '/usr/local/lib/php/readline.so' - 
/usr/local/lib/php/readline.so: undefined symbol: completion_matches in 
<b>-</b> on line <b>1</b><br />

It seems this symbol is missing and then libedit is not fully compatible with 
readline.

The patch is trivial:


diff -Nru libedit-2.9.cvs.20050518.orig/libedit-20050518/filecomplete.c 
libedit-2.9.cvs.20050518/libedit-20050518/filecomplete.c
--- libedit-2.9.cvs.20050518.orig/libedit-20050518/filecomplete.c       
2005-05-12 17:48:40 +0200
+++ libedit-2.9.cvs.20050518/libedit-20050518/filecomplete.c    2005-07-18 
10:08:05 +0200
@@ -261,7 +261,7 @@
 /*
  * returns list of completions for text given
  */
-static char **
+char **
 completion_matches(const char *text, char *(*genfunc)(const char *, int))
 {
        char **match_list = NULL, *retstr, *prevstr;


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages libedit2 depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-8        Shared libraries for terminal hand

libedit2 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to