On Fri, Apr 03, 2026 at 02:48:23PM +0200, Dennis Preiser wrote:
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.
I think I replied too quickly last week.Let's back up and see if we can make more sense of things. How exactly have you run the configure command to compile ncurses? What is installed in your ~/sw/include and lib directory for ncurses, and
exactly where?Mutt will look inside ~/sw first since -I and -L are set. But it would be helpful to know what mutt is seeing in ~/sw so we know what all should be there to sufficiently "cover up" your system lib and includes.
Maybe that's some combination of --disable-lib-suffixes and/or --enable-overwrite.
Thanks. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature
