详细操作过程
先安装zlib,见linux下安装zlib
安装openssl Building a Web Server, for Linux
下载地址
Package(Linux source) : openssl-0.9.8c.tar.gz
解压文件
tar -zxvf openssl-0.9.8c.tar.gz
Our Configuration
Install to : 默认安装路径 /usr/local/ssl
Module type : dynamically and staticly loaded modules, *.so *.a
Build Instructions
Configure
.../openssl-0.9.8c]# ./config --prefix=/usr/local/ --openssldir=/usr/local/openssl -g3 shared zlib-dynamic enable-camellia
--prefix=/usr/local/ --openssldir=/usr/local/openssl
[指定安装路径; 默认是'/usr/local/ssl' -- which we will symlink]
shared
[in addition to the usual static libraries, create shared libraries]
zlib-dynamic
[like "zlib", but has OpenSSL load the zlib library dynamically when needed]
enable-camellia
[enables the symmetric cipher 'Camellia' (128-bit, 192-bit, 256-bit key versions