Ubuntu 12.04 64bit libtermcap.so.2 no such file or directory

$ 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.

猜你喜欢

转载自hellobinfeng.iteye.com/blog/1897129