Ubuntu下openvpn源码安装

Ubuntu下openvpn源码安装OpenVPN依赖OpenSSL库,用于加密,,需要安装。LZO库,数据压缩用,不使用该库也没有关系。

OpenSSL的下载地址:

LZO的下载地址:

OpenVPN的下载地址:

1、./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/

如果不带–with-ssl-headers的话,就会出现下面的错误

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

如果不带 –with-ssl-lib=/usr/local/ssl/lib/,则出现的错误是

configure: checking for OpenSSL Crypto Library and Header files… checking openssl/evp.h usability… yes checking openssl/evp.h presence… yes checking for openssl/evp.h… yes checking for EVP_CIPHER_CTX_init in -lcrypto… no configure: error: OpenSSL Crypto library not found.

make ;make install

听过许多故事,见过旅行风景,就这样,

Ubuntu下openvpn源码安装

相关文章:

你感兴趣的文章:

标签云: