Tag Archives: Emqx /usr/lib/emqx/bin/cuttlefish: error while loading shared libraries: libtinfo.so.5: cannot ope

[Solved] Emqx – /usr/lib/emqx/bin/cuttlefish: error while loading shared libraries: libtinfo.so.5: cannot ope

linux Install EMQX error: error while loading shared libraries: libtinfo.so.5
/usr/lib/emqx/bin/cuttlefish: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

When we installed Emqx on Linux, we found that always at boot time (. /emqx console), it reported an error: /usr/lib/emqx/bin/cuttlefish: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory; at first I thought it was a version problem, I tried various versions on the EMQ website, as well as binary packages and zip packages, but there was no way to avoid the above error message, and the startup failed.

Solution:
# find/-name libtinfo.so
/usr/lib64/libtinfo.so
# ll /usr/lib64/ |grep libtinfo.so
-rwxr-xr-x  1 root root   179264 Sep 19  2019 libtinfo.so.6.0
# sudo ln -s /usr/lib64/libtinfo.so.6.0 /usr/lib64/libtinfo.so.5
lrwxrwxrwx  1 root root       26 Oct 26 07:32 libtinfo.so.5 -> /usr/lib64/libtinfo.so.6.0