rm -f usr/lib/libncurses.so.5
rm -f usr/lib/libncursesw.so.5
( cd lib ; rm -rf libform.so.6 )
( cd lib ; ln -sf libformw.so.6 libform.so.6 )
( cd lib ; rm -rf libformw.so.6 )
( cd lib ; ln -sf libformw.so.6.5 libformw.so.6 )
( cd lib ; rm -rf libmenu.so.6 )
( cd lib ; ln -sf libmenuw.so.6 libmenu.so.6 )
( cd lib ; rm -rf libmenuw.so.6 )
( cd lib ; ln -sf libmenuw.so.6.5 libmenuw.so.6 )
( cd lib ; rm -rf libncurses++.so.6 )
( cd lib ; ln -sf libncurses++w.so.6 libncurses++.so.6 )
( cd lib ; rm -rf libncurses++w.so.6 )
( cd lib ; ln -sf libncurses++w.so.6.5 libncurses++w.so.6 )
( cd lib ; rm -rf libncurses.so.6 )
( cd lib ; ln -sf libncursesw.so.6 libncurses.so.6 )
( cd lib ; rm -rf libncursesw.so.6 )
( cd lib ; ln -sf libncursesw.so.6.5 libncursesw.so.6 )
( cd lib ; rm -rf libpanel.so.6 )
( cd lib ; ln -sf libpanelw.so.6 libpanel.so.6 )
( cd lib ; rm -rf libpanelw.so.6 )
( cd lib ; ln -sf libpanelw.so.6.5 libpanelw.so.6 )
( cd lib ; rm -rf libtic.so.6 )
( cd lib ; ln -sf libtic.so.6.5 libtic.so.6 )
( cd lib ; rm -rf libtinfo.so.6 )
( cd lib ; ln -sf libtinfo.so.6.5 libtinfo.so.6 )
( cd usr/bin/32 ; rm -rf captoinfo )
( cd usr/bin/32 ; ln -sf tic captoinfo )
( cd usr/bin/32 ; rm -rf infotocap )
( cd usr/bin/32 ; ln -sf tic infotocap )
( cd usr/bin/32 ; rm -rf reset )
( cd usr/bin/32 ; ln -sf tset reset )
( cd usr/lib ; rm -rf libformw.so )
( cd usr/lib ; ln -sf ../../lib/libformw.so.6 libformw.so )
( cd usr/lib ; rm -rf libmenuw.so )
( cd usr/lib ; ln -sf ../../lib/libmenuw.so.6 libmenuw.so )
( cd usr/lib ; rm -rf libncurses++w.so )
( cd usr/lib ; ln -sf ../../lib/libncurses++w.so.6 libncurses++w.so )
( cd usr/lib ; rm -rf libpanelw.so )
( cd usr/lib ; ln -sf ../../lib/libpanelw.so.6 libpanelw.so )
( cd usr/lib ; rm -rf libtic.so )
( cd usr/lib ; ln -sf ../../lib/libtic.so.6 libtic.so )
( cd usr/lib ; rm -rf libtinfo.so )
( cd usr/lib ; ln -sf ../../lib/libtinfo.so.6 libtinfo.so )
( cd usr/lib/pkgconfig ; rm -rf form.pc )
( cd usr/lib/pkgconfig ; ln -sf formw.pc form.pc )
( cd usr/lib/pkgconfig ; rm -rf menu.pc )
( cd usr/lib/pkgconfig ; ln -sf menuw.pc menu.pc )
( cd usr/lib/pkgconfig ; rm -rf ncurses++.pc )
( cd usr/lib/pkgconfig ; ln -sf ncurses++w.pc ncurses++.pc )
( cd usr/lib/pkgconfig ; rm -rf ncurses.pc )
( cd usr/lib/pkgconfig ; ln -sf ncursesw.pc ncurses.pc )
( cd usr/lib/pkgconfig ; rm -rf panel.pc )
( cd usr/lib/pkgconfig ; ln -sf panelw.pc panel.pc )
( cd usr/lib ; rm -rf terminfo )
( cd usr/lib ; ln -sf ../share/terminfo terminfo )
