libtinfo.so.5 Error in Ubuntu and solution for the same


When starting a demo, the following errors arises:

ImportError:libtinfo.so.5: cannot open shared object file: No such file or directory

Under Ubuntu, version 8.10, the entrypoints for libinfo are part of ncurses. The libtinfo.so functionality is built into the libncurses.so shared library.

For software that expects the libtinfo.so object, do the following:

sudo ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so.5
sudo ln -s /usr/lib/libtinfo.so.5 /usr/lib/libtinfo.so
Advertisements
This entry was posted in Technology. Bookmark the permalink.

5 Responses to libtinfo.so.5 Error in Ubuntu and solution for the same

  1. Benjamin says:

    hi, I looking for to ubuntu version 10.04, where I can find?

    • sh4 says:

      A bit late, but this could help someone today or in the future.

      For 10.04 the libncurses.so.5 has a different path, so the symbolic links to do are the following:

      ln -s /lib/libncurses.so.5 /usr/lib/libtinfo.so.5
      ln -s /usr/lib/libtinfo.so.5 /usr/lib/libtinfo.so

      Cheers.

  2. Benjamin says:

    ok, I understood the ‘ln’ 🙂

  3. Thank you – this saved me some headache!

  4. g54g5hrwsfew says:

    Thanks…. just downloaded Quake2World free… (Ubuntu 10.04) and it didn’t run until I did this… thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s