bug-readline
[Top][All Lists]
Advanced

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

Re: Error undefined symbol: UP while installing Readline on wsl (Ubuntu


From: Chet Ramey
Subject: Re: Error undefined symbol: UP while installing Readline on wsl (Ubuntu 20.04.6 LTS)
Date: Fri, 1 Nov 2024 10:32:05 -0400
User-agent: Mozilla Thunderbird

On 11/1/24 6:53 AM, Dan Richter wrote:
Hi,

I am trying to Installing mathemagix with configure <https:// www.mathemagix.org/www/mmdoc/doc/html/main/installation_autotools.en.html>, downloaded and extracted the Readline Library from http:// git.savannah.gnu.org/cgit/readline.git/snapshot/readline-8.2.tar.gz by command

curl http://git.savannah.gnu.org/cgit/readline.git/snapshot/ readline-8.2.tar.gz | tar zxf -

I am using *wsl* (Windows Subsystem for Linux) on my notebook *Ubuntu 20.04.6 LTS*


When I run *./configure --with-libtool* in /mnt/c/Windows/system32/mmx/ readline-8.2 I got:

config.status: creating Makefile
awk: symbol lookup error: /usr/local/lib/libreadline.so.8: *undefined symbol: UP*
config.status: error: could not create Makefile

Is awk linked against readline? It's not clear why config.status requires
it otherwise. I admit I haven't looked at what config.status does behind
the scenes, but that's not how it works normally.

You're correct that UP is a termcap/curses/ncurses symbol, and applications
are supposed to link with curses as well as readline to satisfy it.


readelf -s /usr/local/lib/libreadline.so.8 | grep UP
    48: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND UP
   741: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND UP

dpkg -l '*ncurses*' | grep '^ii'
ii  libncurses-dev:amd64   6.2-0ubuntu2.1 amd64        developer's libraries for ncurses


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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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