%general-entities; ]> Ncurses-&ncurses-version; 64 Bit Ncurses Installation of Ncurses CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ ./configure --prefix=/usr --libdir=/lib64 \ --with-shared --without-debug --enable-widec \ --with-manpage-format=normal Prepare ncursesw5-config to be wrapped by the multiarch wrapper and then wrap it: mv -v /usr/bin/ncursesw5-config{,-64} ln -svf multiarch_wrapper /usr/bin/ncursesw5-config mv -v /lib64/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib64 Create symlinks in /usr/lib64: rm -v /lib64/lib{ncursesw,menuw,panelw,formw,cursesw}.so ln -svf ../../lib64/libncursesw.so.5 /usr/lib64/libcursesw.so ln -svf ../../lib64/libncursesw.so.5 /usr/lib64/libncursesw.so ln -svf ../../lib64/libmenuw.so.5 /usr/lib64/libmenuw.so ln -svf ../../lib64/libpanelw.so.5 /usr/lib64/libpanelw.so ln -svf ../../lib64/libformw.so.5 /usr/lib64/libformw.so for lib in curses ncurses form panel menu ; do echo "INPUT(-l${lib}w)" > /usr/lib64/lib${lib}.so ln -sfv lib${lib}w.a /usr/lib64/lib${lib}.a done ln -sfv libcurses.so /usr/lib64/libcursesw.so ln -sfv libncurses.so /usr/lib64/libcurses.so ln -sfv libncursesw.a /usr/lib64/libcursesw.a ln -sfv libncurses.a /usr/lib64/libcurses.a ln -sfv libncurses++w.a /usr/lib64/libncurses++.a ln -sfv ncursesw5-config-64 /usr/bin/ncurses5-config-64 ln -sfv ncursesw5-config /usr/bin/ncurses5-config Now we will create a symlink for /usr/share/terminfo in /usr/lib64 for compatibility: ln -sfv ../../usr/share/terminfo /usr/lib64/terminfo