Versions of Ncurses Libraries ============================= There are several Ncurses Libraries which can be used for building with an terminal based application. The standard Ncurses Libraries is given with /usr/lib/libncurses.so or /usr/lib64/libncurses.so /usr/lib/libform.so or /usr/lib64/libform.so /usr/lib/libmenu.so or /usr/lib64/libmenu.so /usr/lib/libpanel.so or /usr/lib64/libpanel.so and its header are installed in /usr/include/ e.g. (n)curses.h. Nothing has to be added in the CFLAGS nor in the LDFLAGS. Use the outout of ncurses5-config --cflags for CFLAGS ncurses5-config --libs for LDFLAGS For a version with wide character support please use the libraries /usr/lib/libncursesw.so or /usr/lib64/libncursesw.so /usr/lib/libformw.so or /usr/lib64/libformw.so /usr/lib/libmenuw.so or /usr/lib64/libmenuw.so /usr/lib/libpanelw.so or /usr/lib64/libpanelw.so together with the header files found at /usr/include/ncursesw/. This can be done with `-I/usr/include/ncursesw' within the CFLAGS and e.g. `-lncursesw' in the LDFLAGS. Use the outout of ncursesw5-config --cflags for CFLAGS ncursesw5-config --libs for LDFLAGS