Ich versuche Openssl und libcurl aus der Quelle zu erstellen. Auf den ersten Blick sieht es so aus, als ob es sehr einfach sein sollte, aber ich kann meine Lockenbildung nicht dazu bringen, meine OpenSSL-Bibliotheken zu erkennen.Erstellen von openssl und libcurl für Linux von der Quelle
Ich habe die folgenden Schritte versucht:
pwd
$ /home/sossisos/curlssl/
wget https://www.openssl.org/source/openssl-1.0.2i.tar.gz
tar xzf openssl-1.0.2i.tar.gz
cd openssl-1.0.2i
./config
make
cp libcrypto.a libssl.a ../ssl/lib/
cp -R include/ ../ssl/
cd ..
wget https://curl.haxx.se/download/curl-7.50.3.tar.gz
tar xzf curl-7.50.3.tar.gz
cd curl-7.50.3
./configure --with-ssl="/home/sossisos/curlssl/ssl/"
Aber die Konfigurationsergebnisse für Locke sagt
curl version: 7.50.3
Host setup: x86_64-pc-linux-gnu
Install prefix: /usr/local
Compiler: gcc
SSL support: no (--with-{ssl,gnutls,nss,polarssl,mbedtls,cyassl,axtls,winssl,darwinssl})
Weiter oben heißt es auch
checking whether to enable Windows native SSL/TLS (Windows native builds only)... no
checking whether to enable iOS/Mac OS X native SSL/TLS... no
configure: PKG_CONFIG_LIBDIR will be set to "/home/sossisos/curlssl/ssl/lib/pkgconfig"
checking for HMAC_Update in -lcrypto... no
checking for HMAC_Init_ex in -lcrypto... no
checking for ssl_version in -laxtls... no
configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more.
configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this.
Ich habe auch versucht die folgende curl Konfigurationsaufruf
LDFLAGS="-L/home/sossisos/curlssl/ssl/lib/" ./configure --with-ssl="/home/sossisos/curlssl/ssl/"
Mache ich etwas falsch mit meinem OpenSSL Build? Oder meine Locken bauen? Ist es nicht möglich, openssl statisch mit curl zu verknüpfen?
wenn das "genau", was Sie tun, sollten Sie nicht zu '/ home Punkt/sossisos/curlssl/ssl /', dh './configure --with-ssl ="/home/sossisos/collsssl/ssl/"' – ZeekHuge