bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] libreadline.so missing symbols


From: Chet Ramey
Subject: Re: [Bug-readline] libreadline.so missing symbols
Date: Tue, 20 Mar 2007 09:59:07 -0400
User-agent: Thunderbird 1.5.0.10 (Macintosh/20070221)

Jonathan Smith wrote:
> When compiling readline-5.2 on GNU/Linux (x86 and x86_64),
> libreadline.so ends up missing symbols which are provided by libtermcap.
> The issue is resolved (in a hacky way) by adding -ltermcap to the
> LDFLAGS. The missing symbols can cause other programs to not compile
> (try to compile parted-1.8.3 --with-readline, for example), and can
> cause other weird runtime errors when using bash (the cursor jumps
> around unpredictably).

It is the application's responsibility to decide which library (termcap,
curses, ncurses, etc.) should be used to provide the necessary symbols
and to link with it.  Bash uses the BASH_CHECK_LIB_TERMCAP autoconf macro
to do the job; other applications use similar mechanisms.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]