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    [email protected]    http://cnswww.cns.cwru.edu/~chet/

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to