errorwhileloadingsharedlibrarieslibdb4.3.so

编程

[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
————————————————
版权声明:本文为CSDN博主「运维自动化&云计算」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/h106140873/java/article/details/79094192

以上是 errorwhileloadingsharedlibrarieslibdb4.3.so 的全部内容, 来源链接: utcz.com/z/517423.html

回到顶部