[Solved] Error reported using telnet command in Centos7: telnet: error while loading shared libraries: libtinfo.so.6

1.Preconditions for solution

LZ found the package libtinfo. So. 5 in the directory/usr/lib64. Although there is no libtinfo. So. 6, there is libtinfo. So. 5, which can be downward compatible. Building a link can solve this problem.

2.Solutions

1. Replace the nonexistent libtinfo. So. 6 library with libtinfo. So. 5 and execute the following command

[[email protected] /]# cd /usr/lib64/
[[email protected] lib64]# ln -s libtinfo.so.5 libtinfo.so.6

2. Execute the telnet command again.


Read More: