]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
HTTP3.md: adjust the OpenSSL QUIC install instructions
authorKarthikdasari0423 <92445174+Karthikdasari0423@users.noreply.github.com>
Thu, 8 Feb 2024 11:38:16 +0000 (17:08 +0530)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 8 Feb 2024 15:25:04 +0000 (16:25 +0100)
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

docs/HTTP3.md

index 5d41e705abf895bd18181630401000c5a7994d0c..75a92fa316e6f119470e7faf070ebb9359688bcd 100644 (file)
@@ -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=<somewhere> --libdir=<somewhere>/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=<somewhere2> --enable-lib-only
      % make
@@ -224,7 +226,7 @@ Build curl:
      % git clone https://github.com/curl/curl
      % cd curl
      % autoreconf -fi
-     % ./configure --with-openssl=<somewhere> --with-openssl-quic --with-nghttp3=<somewhere2> 
+     % LDFLAGS="-Wl,-rpath,<somewhere>/lib" ./configure --with-openssl=<somewhere> --with-openssl-quic --with-nghttp3=<somewhere2> 
      % make
      % make install