[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash will not link against ncursesw and readline in /usr/local
From: |
Chet Ramey |
Subject: |
Re: bash will not link against ncursesw and readline in /usr/local |
Date: |
Mon, 12 Nov 2018 09:13:45 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 11/11/18 6:34 AM, John Frankish wrote:
> Using bash-4.4.18
> Intel core i7 laptop running 32-bit or 64-bit linux
> Using gcc-8.2.0
>
> The configure script does not find libncursesw on a system where only the
> wide version of ncurses exists - even when readine is linked against
> ncursesw.
I haven't seen a distro where ncursesw is installed without a link to
ncurses. Which distribution are you using?
I could add a check for ncursesw, but that's the kind of thing the distro
usually does.
> The configure scripts does not find libreadline when it is compiled to
> /usr/local and when using the configure switch
> "--with-installed-readline=/usr/local"
I don't have any trouble finding readline in /usr/local/lib/libreadline.so
after installing it, editing /etc/ld.so.conf, and running ldconfig. I tried
with readline-8.0-beta and bash-5.0-beta, so at least it will be working
when those hit release status.
Chet
--
``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/