Install openvpn source code in Ubuntu

Source: Internet
Author: User
Openvpn source code installation in Ubuntu depends on the OpenSSL library for encryption and requires installation. LZO library, which is used for data compression. It does not matter if you do not use this library. OpenSSL: Ingress

Install openvpn source code in Ubuntu
 
OpenVPN depends on the OpenSSL library for encryption and needs to be installed. LZO library, which is used for data compression. It does not matter if you do not use this library.

OpenSSL: http://www.openssl.org/

Http://www.oberhumer.com/opensource/lzo/ of LZO

OpenVPN: http://www.openvpn.net

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/

If -- with-ssl-headers is not included, the following error occurs:

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


If -- with-ssl-lib =/usr/local/ssl/lib/is not included, the error is

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.