当前位置: 技术问答>linux和unix
请高手帮忙解决安装openvpn时的问题~
来源: 互联网 发布时间:2016-04-06
本文导语: 系统是Fedora 9,我将lzo-2.03,openssl-0.9.8h,openvpn-2.1_rc7都传到了服务器上,先安装的lzo,没有问题,接着安装openssl,在 make后出现 virtual memory exhausted: Cannot allocate memory make[1]: *** [ssl_lib.o] Error 1 make[1]: Leaving director...
系统是Fedora 9,我将lzo-2.03,openssl-0.9.8h,openvpn-2.1_rc7都传到了服务器上,先安装的lzo,没有问题,接着安装openssl,在 make后出现
virtual memory exhausted: Cannot allocate memory
make[1]: *** [ssl_lib.o] Error 1
make[1]: Leaving directory `/root/openssl-0.9.8h/ssl'
make: *** [build_ssl] Error 1
这段错误。继续install后仍然有上面的错误提示,我没有管它,接着安装openvpn,但在./configure后出现
configure: checking for OpenSSL Crypto Library and Header files...
checking openssl/evp.h usability... no
checking openssl/evp.h presence... no
checking for openssl/evp.h... no
configure: error: OpenSSL Crypto headers not found.
无法make。。。换了一个方式,用 ./configure --with-lzo-headers=/usr/local/include --with-lzo-lib=/usr/local/lib --with-ssl-headers=/usr/local/ssl/include/ --with-ssl-lib=/usr/local/ssl/lib/ 进行还是出现上面的错误,小弟初学linux,还请高手指点。。。多谢了~~~
virtual memory exhausted: Cannot allocate memory
make[1]: *** [ssl_lib.o] Error 1
make[1]: Leaving directory `/root/openssl-0.9.8h/ssl'
make: *** [build_ssl] Error 1
这段错误。继续install后仍然有上面的错误提示,我没有管它,接着安装openvpn,但在./configure后出现
configure: checking for OpenSSL Crypto Library and Header files...
checking openssl/evp.h usability... no
checking openssl/evp.h presence... no
checking for openssl/evp.h... no
configure: error: OpenSSL Crypto headers not found.
无法make。。。换了一个方式,用 ./configure --with-lzo-headers=/usr/local/include --with-lzo-lib=/usr/local/lib --with-ssl-headers=/usr/local/ssl/include/ --with-ssl-lib=/usr/local/ssl/lib/ 进行还是出现上面的错误,小弟初学linux,还请高手指点。。。多谢了~~~
|
先安装OpenSSL
|
不用这么麻烦吧! 用
yum install openvpn.i386
安装就可以了
yum install openvpn.i386
安装就可以了
|
检查openssl的config的输出信息。肯定有异常的地方