New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configure not support building with ngtcp2 + boringssl #12724
Comments
I'm puzzled. curl only looks for Our HTTP/3 build docs explicitly mentions and lists quictls, not BoringSSL and it seems nobody has made the BoringSSL build work recently. The configure script needs some work. |
Oh! I just updated the curl's repo from old commit, but forgot running After did that, the error info became |
|
Because ngtcp2 renamed it to the more suitable quictls. quictls is an OpenSSL fork with the QUIC API, while the OpenSSL project does not support the QUIC API. They provide a different QUIC API. |
Get it, thanks again! |
Update: also tried to fake libngtcp2_crypto_boringssl as libngtcp2_crypto_openssl like below, and built curl success
This curl can send request via http3 success, that may imply ngtcp2 + boringssl also be feasible? curl 8.6.0-DEV (x86_64-unknown-linux-gnu) libcurl/8.6.0-DEV BoringSSL zlib/1.2.7 nghttp2/1.41.0 ngtcp2/1.1.0 nghttp3/1.1.0
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS Debug HSTS HTTP2 HTTP3 HTTPS-proxy IPv6 Largefile libz NTLM SSL threadsafe TrackMemory UnixSockets |
Yes it is. The configure script just needs some love. |
I did this
curl-8.5.0
withnghttp3-1.1.0
,ngtcp2-1.1.0
andboringssl
in linux.configure: error: --with-ngtcp2 was specified but could not find ngtcp2_crypto_openssl pkg-config file
.checking for libngtcp2_crypto_openssl options with pkg-config
, but not containlibngtcp2_crypto_boringssl
. However, the ngtcp2's output just havelibngtcp2_crypto_boringssl.a
andlibngtcp2_crypto_boringssl.pc
, so the curl's configure failed.ln -sfnv libngtcp2_crypto_boringssl.a libngtcp2_crypto_openssl.a
cp -fv libngtcp2_crypto_boringssl.pc libngtcp2_crypto_openssl.pc
, and modify Name tolibngtcp2_crypto_openssl
Detail building script
curl/libcurl version
curl-8.5.0 release
operating system
Linux mylinux 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: