On Fri, Apr 03, 2026 at 12:24:05PM +0200, Dennis Preiser wrote:
On Fri, Apr 03, 2026 at 06:11:38PM +0800, Kevin J. McCarthy wrote:The only question is... why didn't your installation of ncursesw at least create stubs for ncurses too? Most ncursesw installs will create ncurses.so symlinks or files containing something like "INPUT(-lncursesw)" to point to the ncursesw so files.I'm trying to figure that out.I have to think a bit before swapping the order for everyone. Can anyone think of a downside?I wouldn't just reverse the order. If someone has a system-wide "ncursesw", that would always take precedence. I think that with "--with-curses=DIR", that "DIR" should be searched first.
That's what the -I and -L flags should be doing. They are searched before the system includes/libraries. But because your ~/sw/lib didn't have a ncurses.so file, mutt found the system ncurses.so file and used that instead.
A workaround for now would be to just create a symlink under ~/sw/lib from ncurses.so to your ncursesw.so file.
--Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature
