diff --git a/cint/configure b/cint/configure
index e66151717e55c0500de7077139f23fae0b509f07..5df81eee97b727954152292c3f10ed4c0e977062 100755
--- a/cint/configure
+++ b/cint/configure
@@ -671,6 +671,7 @@ if [ "$READLINELIB" != "" ]; then
             for d in $EXTRA_LIB_DIR /usr/local/lib /usr/lib /sw/lib /sw/lib/ncurses; do 
                 if [ -f ${d}/libncurses$ext ]; then
                     CURSESLIB=${d}/libncurses$ext
+                    DEFAULTLIBS="$DEFAULTLIBS -ltermcap"
                     NCURSES=n
                     break 2
                 elif [ -f ${d}/libcurses$ext ]; then