启动nginx libraries: libssl.so.6 错误

时间:2021-08-09 19:40:03

运行软件提示:

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

执行find  / -name libssl.so*

/usr/lib64/libssl.so.1.0.1e

/usr/lib64/libssl.so.10


解决方法:

for 32bit

ln -sf /usr/lib/libssl.so.10 /usr/lib/libssl.so.6

ln -sf /usr/lib/libcrypto.so.10 /usr/lib/libcrypto.so.6


for 64bit

ln -sf /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.6

ln -sf /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.6