Home > php教程 > php手册 > centos 64位编译php出现Cannot find OpenSSL’s libraries

centos 64位编译php出现Cannot find OpenSSL’s libraries

WBOY
Release: 2016-06-06 20:11:52
Original
1647 people have browsed it

在一台Centos6.4 64位编译安装php时候,出现Cannot find OpenSSLs libraries,前提是已经确认通过yum 安装过OpenSSL库,在网上搜索,基本上得到的结果是安装OpenSSL库,对我的问题无济于事。最后在一个论坛发现,因为是64位系统,OpenSSL库安装在/usr/lib64/

在一台Centos6.4 64位编译安装php时候,出现Cannot find OpenSSL’s libraries,前提是已经确认通过yum 安装过OpenSSL库,在网上搜索,基本上得到的结果是安装OpenSSL库,对我的问题无济于事。最后在一个论坛发现,因为是64位系统,OpenSSL库安装在/usr/lib64/,但在安装php时,它还是去/usr/lib/ 下查找该库,故报上述错误。清楚了问题所在,解决办法就是做一个软链接如下:

ln -s /usr/lib64/libssl.so /usr/lib/
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template