Source: ruby-ncurses Version: 1.4.9-1 Tags: upstream The configure script for ruby-ncurses apparently does not check for the menuw library shipped in libncursesw6, but only for the menu library in libncurses6. This is the relevant excerpt from the build log[1}:
,---- | checking for the menu library... | checking for menu.h... yes | checking for new_menu() in -lmenu... yes `---- And later it links with -lmenu, causing ruby-ncurses to depend on both libncurses6 and libncursesw6. Previous builds against libncursesw5 had disabled support for the menu library altogether, because there were different development packages for the wide and non-wide ncurses libraries and libmenu.so was not present on the build system. 1. https://buildd.debian.org/status/fetch.php?pkg=ruby-ncurses&arch=amd64&ver=1.4.9-1%2Bb3&stamp=1525522165&raw=0