在安装curl时,configure doesn't find OpenSSL,按官方解释这是由于gnu autoconf tool
的bug引起,而非curl的原因,编译需指定openssl的库安装目录,如下
./configure --prefix=/usr/local/curl --with-ssl
--with-zlib=/usr/local/zlib CFLAGS=-I/usr/local/ssl/include
CPPFLAGS=-I/usr/local/ssl/include
PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig
LDFLAGS=-L/usr/local/ssl/lib 即可通过!
阅读(3377) | 评论(0) | 转发(0) |