安装Directadmin时遇到shared libraries错误
2013/10/04 14:39
教程
在安装directadmin时遇到如下提示:
************************************* * * * All parts have been installed * * * ************************************* Type: /sbin/service httpd restart ./directadmin: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory ./directadmin: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
解决方法
cd /usr/local/directadmin ldd directadmin
可能会出现如下提示:
./directadmin: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
我们去搜索libssl.so,可能是版本的原因
locate libssl.so
当你找到了libssl.so,例如 /lib/libssl.so.10
cd /lib ln -s /usr/lib/libssl.so.10 libssl.so.6
之后完成安装即可
cd /usr/local/directadmin ./directadmin i ./directadmin p
如果还缺少其他组件,例如libcrypto.so.6,也是同理
学习了。多谢
终于找到答案了