The 'libtinfo.so.5' you got from an rpm package may
depend on a newer version of glibc ( libc.so ) and not being usable.
The command 'ldd /lib/libtinfo.so.5' will tell what it depends on.
'ncurses-5.6.x' can be compiled with 'libtinfo.so.5.6'
> libtinfo.so.5, using these options :
Code:
./configure \
--with-shared --without-ada --with-ospeed=unsigned \\\
--enable-hard-tabs --enable-xmc-glitch --enable-colorfgbg \
--enable-overwrite \\\
--with-termlib=tinfo \\\
--with-chtype=long
This information is from ncurses-5.6-20.20080927.fc10.src.rpm,
see 'ncurses.spec'.
http://download.fedora.redhat.com/pu.../source/SRPMS/
.....