Open barracuda156 opened 2 months ago
Without +brotli
among default variants it builds:
sh-5.1# port -v installed curl
The following ports are currently installed:
curl @8.9.1_1+http2+idn+psl+ssl (active) requested_variants='+http2+idn+psl+ssl' platform='linux 3' archs='riscv64' date='2024-09-04T19:13:11+0000'
patchelf --print-needed /opt/local/lib/libcurl.so libnghttp2.so.14 libidn2.so.0 libpsl.so.5 libnettle.so.8 libgnutls.so.30 libgss.so.3 libzstd.so.1 libbrotlidec.so.1 libz.so.1 libpthread.so.0 libc.so.6
What variant are you using and does the build system detect brotli correctly?
Initially I just tried to install whatever default curl
had, without specifying variants. Defaults include brotli
via standard
.
Since I could not install it with brotli
enabled, output from the command above does not include it. How should I check if brotli is correctly detected?
sh-5.1# patchelf --print-needed /opt/local/lib/libcurl.so
libnghttp2.so.14
libidn2.so.0
libpsl.so.5
libssl.so.3
libcrypto.so.3
libz.so.1
libc.so.6
sh-5.1# port -v installed curl
The following ports are currently installed:
curl @8.9.1_1+http2+idn+psl+ssl (active) requested_variants='+http2+idn+psl+ssl' platform='linux 3' archs='riscv64' date='2024-09-04T19:13:11+0000'
Since I could not install it with
brotli
enabled, output from the command above does not include it. How should I check if brotli is correctly detected?
Evidently you'll have to start a new build with +brotli and then do something like
> fgrep -l lbrotli -R `port work curl`
You should see -lbrotlidec in a bunch of Makefile files, as well as in the generated curl-config
script . If not ans as always, the config.log
file in $worksrcpath should give some clues as to why.