From: Karthikdasari0423 <92445174+Karthikdasari0423@users.noreply.github.com> Date: Thu, 8 Feb 2024 11:38:16 +0000 (+0530) Subject: HTTP3.md: adjust the OpenSSL QUIC install instructions X-Git-Tag: curl-8_7_0~198 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a4b2f93;p=thirdparty%2Fcurl.git HTTP3.md: adjust the OpenSSL QUIC install instructions tried installing with old steps but failed tried with newly added setps and able to build ``` root@ubuntu:~/curl# ./src/curl -V /root/curl/src/.libs/curl: /lib/x86_64-linux-gnu/libssl.so.3: version `OPENSSL_3.2.0' not found (required by /root/curl/lib/.libs/libcurl.so.4) root@ubuntu:~/curl# ``` ``` root@ubuntu:~/curl# ./src/curl -V curl 8.6.1-DEV (x86_64-pc-linux-gnu) libcurl/8.6.1-DEV OpenSSL/3.2.0 zlib/1.2.11 brotli/1.0.9 libpsl/0.21.0 nghttp3/1.1.0 OpenLDAP/2.5.16 Release-Date: [unreleased] Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp Features: alt-svc AsynchDNS brotli HSTS HTTP3 HTTPS-proxy IPv6 Largefile libz NTLM PSL SSL threadsafe TLS-SRP UnixSockets root@ubuntu:~/curl# ``` Closes #12896 --- diff --git a/docs/HTTP3.md b/docs/HTTP3.md index 5d41e705ab..75a92fa316 100644 --- a/docs/HTTP3.md +++ b/docs/HTTP3.md @@ -206,6 +206,7 @@ Build OpenSSL 3.2.0 % git clone -b openssl-3.2.0 https://github.com/openssl/openssl % cd openssl % ./config enable-tls1_3 --prefix= --libdir=/lib + % make % make install Build nghttp3 @@ -213,6 +214,7 @@ Build nghttp3 % cd .. % git clone -b v1.1.0 https://github.com/ngtcp2/nghttp3 % cd nghttp3 + % git submodule update --init % autoreconf -fi % ./configure --prefix= --enable-lib-only % make @@ -224,7 +226,7 @@ Build curl: % git clone https://github.com/curl/curl % cd curl % autoreconf -fi - % ./configure --with-openssl= --with-openssl-quic --with-nghttp3= + % LDFLAGS="-Wl,-rpath,/lib" ./configure --with-openssl= --with-openssl-quic --with-nghttp3= % make % make install