Rate This Document
Findability
Accuracy
Completeness
Readability

Failed to Load libtinfo.so.5

Symptom

The following error information is displayed indicating that libtinfo.so.5 fails to be loaded.

[root@localhost NPB3.4-MPI]# cat precision_20250123034703_1194.txt
/usr/local/devkit/advisor/devkitplugins/affinity/tools/compileopt/bin/preccheck: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

Possible Causes

  • The libtinfo.so version is not supported.
  • libtinfo.so is not installed.

Troubleshooting Procedure

  • If libtinfo.so does not exist in the system, install libtinfo.so.5.
  • If libtinfo.so.6 is installed in the system, run the following command to create a soft link. Replace /usr/lib64 with the actual path to libtinfo.so.6.

    Exercise caution when performing this operation because this method may cause compatibility issues. Make sure that you have understood the potential risks.

    ln -s /usr/lib64/libtinfo.so.6 /usr/lib64/libtinfo.so.5