bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] libreadline.so.7: undefined symbol: UP


From: Chet Ramey
Subject: Re: [Bug-readline] libreadline.so.7: undefined symbol: UP
Date: Mon, 23 Oct 2017 11:32:07 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 10/22/17 10:57 PM, Jeffrey Walton wrote:
> I keep hitting this issue when building programs like cURL and Git
> against Readline 7:
> 
>   $ ./configure
>   configure: creating ./config.status
>   config.status: creating Makefile
>   gawk: symbol lookup error: /usr/local/lib64/libreadline.so.7:
> undefined symbol: UP
>   config.status: error: could not create Makefile
> 
> Sure enough:
> 
>   $ nm -D /usr/local/lib64/libreadline.so | egrep 'UP|DOWN|LEFT|RIGHT'
>                  U UP
> 
> Others have hit the issue. Conventional wisdom from the various posts
> is, downgrade to readline 6.3.
> 
> I've reviewed the CHANGELOG but but I'm not seeing what changed and why.
> 
> Could someone please please explain the change to me, and explain what
> needs to be done to get the symbol back?

Readline doesn't provide this symbol. It's an extern exported by the
termcap/termlib/ncurses library as part of the termcap interface, along
with BC/PC/ospeed.

You can either link with ncurses, as bash does, or link readline with the
ncurses library when the shared library is constructed, as some vendors do.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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