mac配置libevet出现bufferevent_openssl.c:66:10: fatal error: 'openssl/bio.h' file not found
解决办法:
在bash_profile中配置环境变量加上下面两行
export CPPFLAGS=-I/usr/local/opt/openssl/include
export LDFLAGS=-L/usr/local/opt/openssl/lib
再重新make即可
原创
2017-07-19 23:21:24 ·
1408 阅读 ·
1 评论