---
title: "Ubuntu 12.04 64bit libtermcap.so.2 no such file or directory"
author: "hellobin"
date: "2013-07-01T20:18:09Z"
tags: []
categories: ["操作系统"]
slug: "ubuntu-12-04-64bit-libtermcap-so-2-no-such-file-or-directory"
draft: false
lastmod: "2013-07-01T20:18:09Z"
id: 1897129
url: "https://hellobinfeng.iteye.com/blog/1897129"
---

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