概述
[root@whw-web lib]# /usr/local/apache/bin/apachectl -k start
/usr/local/apache/bin/httpd: error while loading shared libraries: libdb-4.3.so: cannot open shared object file: No such file or directory
[root@whw-web lib]# /usr/local/apache/bin/apachectl -k start
/usr/local/apache/bin/httpd: error while loading shared libraries: libldap-2.3.so.0: cannot open shared object file: No such file or directory
[root@whw-web lib]# /usr/local/apache/bin/apachectl -k start
/usr/local/apache/bin/httpd: error while loading shared libraries: liblber-2.3.so.0: cannot open shared object file: No such file or directory
[root@whw-web lib]# /usr/local/apache/bin/apachectl -k start
直接打包在CentOS5.4的apche 编译好的包到CentOS6.7上运行出现以上提示。
查看/lib64目录发现是
# ln -s /lib64/libdb-4.7.so /lib64/libdb-4.3.so
# ln -s /lib64/liblber-2.4.so.2.10.3 /lib64/liblber-2.3.so.0
# ln -s /lib64/libldap-2.4.so.2 /lib64/libldap-2.3.so.0
最后
以上就是忧伤画板为你收集整理的error while loading shared libraries: libdb-4.3.so的全部内容,希望文章能够帮你解决error while loading shared libraries: libdb-4.3.so所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复