$ sudo updatedb
$ locate libncurses
you will see a set of libncurse.so. files for eg :
/lib/libncurses.so.5
/lib/libncurses.so.5.7 etc
If you do not see such files then you will have to install libncurses, which you can do using the synaptic package manager or
$ sudo apt-get install libncurses5 (or the version that is available in your repo).
once you find the libnucrses.so.5.7 file run the following command
$sudo ln -s /lib/libncurses.so.5.7 /lib/libtermcap.so.2
Then retry the operation that gave you the libtermcap error, you should not see the error any more.
本文介绍了解决因缺少libncurses导致的libtermcap错误的方法。通过使用包管理器安装libncurses,并创建符号链接指向正确的libncurses.so版本,可以有效避免此错误。
2019

被折叠的 条评论
为什么被折叠?



