Installieren von curl mit openssl
Habe ich gerade heruntergeladen und installiert OpenSSL aus http://www.openssl.org/source/ [http://www.openssl.org/source/openssl-1.0.1c.tar.gz]
./config
make
make test
make install
Nun habe ich heruntergeladen CURL - http://curl.haxx.se/download/curl-7.27.0.tar.gz. Versucht zu konfigurieren curl mit openssl gibt mir folgende Fehlermeldung -
.............................................................
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!
[[email protected]]# 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
[[email protected]]#
Ich bin nicht sicher, wie ich diese Fehler beheben kann?
in meinem Fall installierte ich eine andere openssl-version
1.0.2o
wurde erkannt curl 7.64
automatischInformationsquelleAutor Programmer | 2012-09-28
Du musst angemeldet sein, um einen Kommentar abzugeben.
Versuchen Sie dies, wenn Sie konfigurieren die libcurl
/usr/local/ssl
ist, wo openssl enthält header-Dateien und BibliothekInformationsquelleAutor rajeshk
Wenn Sie auf RHEL-und aufbauen wollen, curl (z.B. v7.45) mit statisch gelinkten libs (standalone binary), können Sie auch:
Ihre binäre wird hergestellt
./src/curl
.openssl-devel
version 1.0.1 e-Installationen:InformationsquelleAutor Jose Alban
Lösen dieses problem mit dem flag --with-darwinssl
Gehen Sie zum Ordner mit curl-source-code
Ihn hier herunterladen
https://curl.haxx.se/download.html
starten Sie die Konsole neu, und es ist getan!
InformationsquelleAutor Максим Мартынов