[Solved] Centos8 openssh Compile Error: error while loading shared libraries


When running the program under CentOS 8, I found the error while loading shared libraries. I didn’t know the solution for a while. Now I have explored and solved it, as follows:

1. Find the path where the missing library is located {find/- name} XXX

2. Put the path in /etc/ld.so.conf

3. At the command line, enter ldconfig

4. No error will be reported after compiling again

Read More: