On Fri, Apr 03, 2026 at 06:53:57PM +0800, Kevin J. McCarthy wrote:
> A workaround for now would be to just create a symlink under ~/sw/lib from
> ncurses.so to your ncursesw.so file.
Unfortunately, that doesn't work. There are a lot of missing symbols.
...
"_wclear$NCURSES60", referenced from:
_main in main.o
"_wgetch$NCURSES60", referenced from:
_mutt_getch in curs_lib.o
_mutt_what_key in keymap.o
"_wrefresh$NCURSES60", referenced from:
_mutt_refresh in curs_lib.o
__get_field in curs_lib.o
_mutt_edit_file in curs_lib.o
_mutt_endwin in curs_lib.o
_mutt_yesorno_with_help in curs_lib.o
_mutt_yesorno_with_help in curs_lib.o
_mutt_do_pager in curs_lib.o
...
ld: symbol(s) not found for architecture arm64
It seems that the library in ~/sw/lib is being used, but the header file
for the system-wide library. $NCURSES60 appears only there
#define NCURSES_SUF_ABI60 "$NCURSES60"
and not in ~/sw/include/ncursesw/ncurses.h.
Dennis