help-bash
[Top][All Lists]
Advanced

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

Build Bash using wide Ncurses?


From: Jeffrey Walton
Subject: Build Bash using wide Ncurses?
Date: Thu, 7 Jan 2021 14:14:17 -0500

Hi Everyone,

I'm testing Bash builds using locally built Ncurses, Readline and
GetText. Bash configure includes --with-libiconv-prefix,
--with-libintl-prefix and --with-installed-readline.

When I check for linked libraries I see:

$ ldd ~/ok2delete/bin/bash
        linux-vdso.so.1 (0x00007fff1f966000)
        libreadline.so.8 =>
/home/jwalton/ok2delete/bin/../lib/libreadline.so.8
(0x00007faf6f8d4000)
        libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5
(0x00007faf6f6aa000)
        libintl.so.8 =>
/home/jwalton/ok2delete/bin/../lib/libintl.so.8 (0x00007faf6f49f000)
        libiconv.so.2 =>
/home/jwalton/ok2delete/bin/../lib/libiconv.so.2 (0x00007faf6f1b7000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007faf6efb3000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007faf6ed94000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faf6e9a3000)
        /lib64/ld-linux-x86-64.so.2 (0x00007faf6fe10000)

Notice libtinfo.so is /lib/x86_64-linux-gnu/libtinfo.so.5.

However, I build the wide-character versions of Ncurses (using option
--enable-widec):

$ find ~/ok2delete/lib -name 'libtinfo*'
/home/jwalton/ok2delete/lib/libtinfow.a
/home/jwalton/ok2delete/lib/libtinfow.so.6.1
/home/jwalton/ok2delete/lib/libtinfow.so.6
/home/jwalton/ok2delete/lib/libtinfow_g.a
/home/jwalton/ok2delete/lib/libtinfow.so

Here's the Ncurses page that explains --enable-widec:
http://www.linuxfromscratch.org/lfs/view/development/chapter08/ncurses.html

How do I tell Bash to use the wide character versions of Ncurses?

Thanks in advance.



reply via email to

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