答案1
您必须安装开发库:
sudo apt-get install libncurses5-dev
请不使用sudo apt-get install libncurses*
或者您需要所有这些包吗?
libncurses5 - shared libraries for terminal handling
libncurses5-dbg - debugging/profiling libraries for ncurses
libncurses5-dev - developer's libraries for ncurses
libncursesw5 - shared libraries for terminal handling (wide character support)
libncursesw5-dbg - debugging/profiling libraries for ncursesw
libncursesw5-dev - developer's libraries for ncursesw
libncurses-gst - Ncurses bindings for GNU Smalltalk
libncursesada-dbg - Ada binding to the ncurses text interface library: debug symbols
libncursesada-doc - Ada binding to the ncurses text interface library: documentation
libncursesada3 - Ada binding to the ncurses text interface library: shared library
libncursesada3-dev - Ada binding to the ncurses text interface library: development
可能不会。