mac下给php编译openssl扩展报错 fatal error: 'openssl/evp.h' file not found
2017-04-07 13:47
676 查看
在mac下给php编译openssl扩展的时候报这个错误,我之前用brew安装过openssl,但是make的时候报错
解决办法:在命令行输入./configure --help 会有参数信息,之后执行
configure的时候手动指定openssl目录,之后make&&make install 可正确编译扩展
fatal error: 'openssl/evp.h' file not found
解决办法:在命令行输入./configure --help 会有参数信息,之后执行
./configure --with-openssl-dir="本机openssl的目录"
configure的时候手动指定openssl目录,之后make&&make install 可正确编译扩展
相关文章推荐
- mac编译openssl扩展报错 openssl.c:44:10: fatal error: 'openssl/evp.h' file not found
- mac配置libevet出现bufferevent_openssl.c:66:10: fatal error: 'openssl/bio.h' file not found
- Install libevent bufferevent_openssl.c:60:10: fatal error: 'openssl/bio.h' file not found
- fatal error: 'QTKit/QTKit.h' file not found when I build OpenCV on mac
- ios react native 手动配置 realm 使用cocoapods 会编译报错 fatal error: 'React/RCTBridge.h' file not found
- MAC下编译PHP5.5.7问题:configure: error: freetype.h not found.
- caffe编译 `make pytest` 出错:`fatal error: 'pyconfig.h' file not found`
- mac安装protobuf2.4.1时报错./include/gtest/internal/gtest-port.h:428:10: fatal error: 'tr1/tuple' file not found和google/protobuf/message.cc:175:16: error: implicit instantiation of undefined template
- MAC下编译PHP5.5.7问题:configure: error: freetype.h not found.
- 【解决方法】macOS 安装Resin失败:fatal error: 'openssl/ssl.h' file not found
- 编译php的时候,报configure: error: mcrypt.h not found. Please reinstall libmcrypt.错误的解决办法
- Windows平台的 PHP 报错 Fatal error: Class COM not found in 的解决方法
- PHP编译安装出错configure: error: mcrypt.h not found. Please reinstall libmcrypt的解决办法
- php 编译安装报错 configure: error: mcrypt.h not found. Please reinstall libmcrypt.
- ubuntu 下编译phpphp-5.6.17出错“configure: error: mcrypt.h not found.”
- Centos6.5编译php报错:configure: error: mcrypt.h not found. Please reinstall libmcrypt.
- php使用ZipArchive提示Fatal error: Class ZipArchive not found in的解决方法
- Fatal error: Call to undefined functionmb_internal_encoding() ,mac 安装php mbstring扩展
- MinGW 编译出现g++: fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll not found错误的解决方法
- php使用ZipArchive提示Fatal error: Class ZipArchive not found in的解决方法