Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: nurbles on April 29, 2026, 08:30:44 AM
-
I've been trying to figure this out, but so far none of the fixes suggested here (from older TC versions) have worked for me. I am seeing this message when I try to run my application:
./rm88: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory
My application also links with ncurses (using the gcc link switch -lncursesw), which has been the most common solution. I found four ncurses packages with the TC app installer and made sure that all of them are installed. I tried making a link from libtinfo.so.6 -> /usr/local/lib/libncurses.so, but I still got the same error. I'm going to try linking to each of the other two ncurses libs, but I thought I'd ask here just in case someone has already solved this problem "the right way."
Can (and will) anyone provide help, hints, links, or a full solution? Thanks!
-
Never mind, I think. I did this:
sudo ln -s /usr/local/lib/libncursesw.so.6 libtinfo.so.6
and tried running my program again. This time it worked!
So, I have a fix, but is this the correct fix? If so, should this link be automatically installed with the associated ncurses libraries? It seems to me that it should.
-
Hi nurbles
Based on these links, libtinfo functions have been rolled
into libncursesw:
https://forum.tinycorelinux.net/index.php?topic=22985.msg143566#msg143566
https://forum.tinycorelinux.net/index.php?topic=26342.msg169823#msg169823