error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

Solution Verified - Updated -

Issue

  • error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
$ ./application
 ./application: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

$ locate libtinfo.so
/usr/lib64/libtinfo.so.6
/usr/lib64/libtinfo.so.6.2
  • Software ran on RHEL 7 but does not run on RHEL 9 anymore, users need library file

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • libtinfo provided by ncurses-libs package

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content