【发布时间】:2012-09-20 03:12:21
【问题描述】:
我刚刚从http://www.openssl.org/source/ [http://www.openssl.org/source/openssl-1.0.1c.tar.gz] 下载并安装了 OpenSSL
./config
make
make test
make install
现在我下载了 CURL - http://curl.haxx.se/download/curl-7.27.0.tar.gz。尝试使用 openssl 配置 curl 时出现以下错误 -
.............................................................
checking for ssl with RSAglue/rsaref libs in use... checking for SSL_connect in -lssl... (cached) no
no
configure: error: OpenSSL libs and/or directories were not found where specified!
[root@curl-7.27.0]# ls -l /usr/local/ssl
total 40
drwxr-xr-x 2 root root 4096 Sep 28 01:21 bin
drwxr-xr-x 2 root root 4096 Sep 28 01:21 certs
drwxr-xr-x 3 root root 4096 Sep 28 01:21 include
drwxr-xr-x 4 root root 4096 Sep 28 01:21 lib
drwxr-xr-x 6 root root 4096 Sep 28 01:21 man
drwxr-xr-x 2 root root 4096 Sep 28 01:21 misc
-rw-r--r-- 1 root root 10835 Sep 28 01:21 openssl.cnf
drwxr-xr-x 2 root root 4096 Sep 28 01:21 private
[root@curl-7.27.0]#
我不确定如何修复此错误?
【问题讨论】:
-
在我的情况下,我安装了另一个 openssl 版本
1.0.2o,它被 curl7.64自动检测到