mac配置libevet出现bufferevent_openssl.c:66:10: fatal error: 'openssl/bio.h' file not found
2017-07-19 23:21
1121 查看
解决办法:
在bash_profile中配置环境变量加上下面两行
export CPPFLAGS=-I/usr/local/opt/openssl/include
export LDFLAGS=-L/usr/local/opt/openssl/lib
再重新make即可
在bash_profile中配置环境变量加上下面两行
export CPPFLAGS=-I/usr/local/opt/openssl/include
export LDFLAGS=-L/usr/local/opt/openssl/lib
再重新make即可
相关文章推荐
- Install libevent bufferevent_openssl.c:60:10: fatal error: 'openssl/bio.h' file not found
- mac编译openssl扩展报错 openssl.c:44:10: fatal error: 'openssl/evp.h' file not found
- mac下给php编译openssl扩展报错 fatal error: 'openssl/evp.h' file not found
- Mac OS X安装libevent库报Install libevent bufferevent_openssl.c:60:10: fatal error: 'openssl/bio.h' file
- 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
- _mysql.c:44:10: fatal error: 'my_config.h' file not found
- ios react native 手动配置 realm 使用cocoapods 会编译报错 fatal error: 'React/RCTBridge.h' file not found
- python安装软件出现错误 fatal error: 'libxml/xmlversion.h' file not found
- mac /include/c++/v1/iterator:341:10: fatal error: '__debug' file not found #include <__debug>
- 【解决方法】macOS 安装Resin失败:fatal error: 'openssl/ssl.h' file not found
- fatal error: 'QTKit/QTKit.h' file not found when I build OpenCV on mac
- fatal error: 'XCTest/XCTest.h' file not found
- ./mosquitto_internal.h:51:12: fatal error: 'ares.h' file not found
- linux 内核编译时出现scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h错误的解决办法
- github中在本地进行上传的时候出现ERROR: Repository not found. fatal: The remote end hung up unexpectedly
- 命令行执行php出现PHP Fatal error: Class ‘Redis’ not found in 错误
- linux 内核编译时出现scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h错误的解决办法
- Clang:fatal error:'stdio.h' file not found的解决方法
- lnn.c:4:9: fatal error: 'nanomsg/nn.h' file not found, torch nn安装错误解决办法
- APUE学习第二天(1)——双系统重装Ubuntu出现:error file not found. grub rescue之grub修复