ncurses is missing libtermcap, this just needs to be a link to libncurses:
sudo ln -s libncurses.so /usr/local/lib/libtermcap.so
ncurses-dev has its startup script named ncurses so it does run if ncurses-dev is installed after ncurses. Also the current ncurses-dev startup script manually links every header and static lib in /usr/local from ncurses to /usr/lib. Couldn't this be done with:
cp -as /tmp/tcloop/ncurses-dev/usr/local/include /usr
cp -as /tmp/tcloop/ncurses-dev/usr/local/lib /usr
or include the links in the extension itself?
Edit: ncurses-dev startup script does not run, forgot the not