装配OpenVPN遇到“configure: error: OpenSSL Crypto headers not found”

安装OpenVPN遇到“configure: error: OpenSSL Crypto headers not found”在使用源码编译安装OpenVPN时,在配

安装OpenVPN遇到“configure: error: OpenSSL Crypto headers not found”

在使用源码编译安装OpenVPN时,在配置阶段可能会遇到无法找到OpenSSL头文件错误:

?

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

?,通过增加配置参数来指定OpenSSL头文件及库文件的路径,可以解决问题:

?

./configure --with-ssl-headers=/usr/local/ssl/include/ --with-ssl-lib=/usr/local/ssl/lib/
?

==========================

另外,附上在Solaris上可用的TAP虚拟网卡驱动程序官方地址:

http://www.whiteboard.ne.jp/~admin2/tuntap/