libevent 编译找不到 openssl/bio.h的问题
2012-11-12 17:04
826 查看
最近在学习python高性能网络框架gevent, 需要先安装libevent。在solaris系统下,已经安装了openssl,并加到环境变量里面了,而且系统默认环境下的/usr/sfw/include/openssl也是有的,比较奇怪。不管怎么样,先编译过去再说,
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
重新make就过去了
下面是错误log:
/bin/bash ./libtool --tag=CC --mode=compile gcc -DH***E_CONFIG_H -I. -I./compat -I./include -I./include -g -O2 -Wall -fno-strict-aliasing -D_REENTRANT -pthreads
-MT bufferevent_openssl.lo -MD -MP -MF .deps/bufferevent_openssl.Tpo -c -o bufferevent_openssl.lo bufferevent_openssl.c
libtool: compile: gcc -DH***E_CONFIG_H -I. -I./compat -I./include -I./include -g -O2 -Wall -fno-strict-aliasing -D_REENTRANT -pthreads -MT bufferevent_openssl.lo -MD -MP -MF .deps/bufferevent_openssl.Tpo -c bufferevent_openssl.c -fPIC -DPIC -o .libs/bufferevent_openssl.o
bufferevent_openssl.c:60:25: openssl/bio.h: No such file or directory
bufferevent_openssl.c:61:25: openssl/ssl.h: No such file or directory
bufferevent_openssl.c:62:25: openssl/err.h: No such file or directory
bufferevent_openssl.c:104: error: syntax error before '*' token
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
重新make就过去了
下面是错误log:
/bin/bash ./libtool --tag=CC --mode=compile gcc -DH***E_CONFIG_H -I. -I./compat -I./include -I./include -g -O2 -Wall -fno-strict-aliasing -D_REENTRANT -pthreads
-MT bufferevent_openssl.lo -MD -MP -MF .deps/bufferevent_openssl.Tpo -c -o bufferevent_openssl.lo bufferevent_openssl.c
libtool: compile: gcc -DH***E_CONFIG_H -I. -I./compat -I./include -I./include -g -O2 -Wall -fno-strict-aliasing -D_REENTRANT -pthreads -MT bufferevent_openssl.lo -MD -MP -MF .deps/bufferevent_openssl.Tpo -c bufferevent_openssl.c -fPIC -DPIC -o .libs/bufferevent_openssl.o
bufferevent_openssl.c:60:25: openssl/bio.h: No such file or directory
bufferevent_openssl.c:61:25: openssl/ssl.h: No such file or directory
bufferevent_openssl.c:62:25: openssl/err.h: No such file or directory
bufferevent_openssl.c:104: error: syntax error before '*' token
相关文章推荐
- 解决mac osx编译libevent找不到openssl目录的问题
- Mac 编译安装libimobiledevice出现openssl头文件找不到问题
- 解决xcode 7.0以上编译找不到openssl头文件问题
- 问题记录:MAC下编译SQLCipher找不到openssl目录
- 编译.NET项目提示“找不到系统命名空间,请添加系统组件的引用”问题的解决方法(该组件已被该项目正确引用)
- 关于命令行中javac 编译成功,用 java 运行 class 文件出现 “ 找不到或无法加载主类 ” 的问题
- 交叉编译openssl-0.9.7a出现的问题总结
- 关于matlab的编译问题--出现找不到指定模块C:MATLAB7\bin\win32\atlas_Athlon.dll
- Linux下编译安装openssl不生成动态链接库.so的问题解决
- 关于编译安装Thrift找不到libthriftnb.a的问题
- ubuntu下安装ruby后openssl找不到的问题
- 源码编译rrdtool提示找不到xxx.pc类问题处理
- Mac OS X 10.8.3搭建Android工程源码的编译环境(解决找不到GCC、GIT、PYTHON的问题)
- j2me 编译没有问题而运行找不到类的问题
- 关于Linux(ubantu12.04)下编译错误mysql.h找不到的问题
- 交叉编译找不到stdio.h头文件,make menuconfig问题解决办法
- 交叉编译openssl-0.9.7a出现的问题总结
- 编译Linux-4.9.11内核时遇到:“error : openssl/bio.h :No such file or folder”
- Winform 调用WCF客户端,所有服务端方法在运行的时候均找不到(编译没有问题)
- xcode8 模拟器编译webrtc找不到openssl