%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 \ --enable-pc-files Prepare ncursesw6-config to be wrapped by the multiarch wrapper and then wrap it: mv -v /usr/bin/ncursesw6-config{,-64} ln -svf multiarch_wrapper /usr/bin/ncursesw6-config mv -v /lib64/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib64 Create symlinks in /usr/lib64: ln -svf ../../lib64/$(readlink /lib64/libncursesw.so) /usr/lib64/libncursesw.so ln -svf ../../lib64/$(readlink /lib64/libmenuw.so) /usr/lib64/libmenuw.so ln -svf ../../lib64/$(readlink /lib64/libpanelw.so) /usr/lib64/libpanelw.so ln -svf ../../lib64/$(readlink /lib64/libformw.so) /usr/lib64/libformw.so rm -v /lib64/lib{ncursesw,menuw,panelw,formw}.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 libncursesw.a /usr/lib64/libcursesw.a ln -sfv libncurses++w.a /usr/lib64/libncurses++.a ln -sfv ncursesw6-config-64 /usr/bin/ncurses6-config-64 ln -sfv ncursesw6-config /usr/bin/ncurses6-config