Skip to content
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

Brotli seems to be required for this version else libbrotlienc is missing #18288

Conversation

sassy-crick
Copy link
Collaborator

(created using eb --new-pr)

@@ -23,6 +23,7 @@ dependencies = [
('GLib', '2.72.1'),
('GnuTLS', '3.7.8'),
('libidn2', '2.3.2'),
('Brotli', '1.0.9'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This surprised me. Can you share the error / build log where it fails?

I've checked ldd output on the glib-networking .so files and I cannot see signs of Brotli.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the delay.
It surprised me as well and it was only when I inspected the meson-log.txt I found that:

pkg-config error with 'gnutls': Could not generate cargs for gnutls:
Package libbrotlienc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbrotlienc.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libbrotlienc', required by 'gnutls', not found
Package 'libbrotlidec', required by 'gnutls', not found

The full log files, i.e. from EasyBuild and Ninja, are here.

Please let me know if you got a better solution for that and thanks for your help.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So the issue is it is not finding your GnuTLS install, but I am confused as to why it is expecting to find libbrotlienc.

$ module load GnuTLS/3.7.8-GCCcore-11.3.0 pkgconf/1.8.0-GCCcore-11.3.0
$ pkg-config --modversion gnutls
3.7.8
$ pkg-config --cflags gnutls
-I/rds/projects/2017/branfosj-rse/easybuild/EL8-ice/software/p11-kit/0.24.1-GCCcore-11.3.0/include/p11-kit-1 -I/usr/local/include
$ echo $?
0

Can you try those commands and also run ldd on the GnuTLS .so files.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

Apptainer> module load GnuTLS/3.7.8-GCCcore-11.3.0 pkgconf/1.8.0-GCCcore-11.3.0
Loading GnuTLS/3.7.8-GCCcore-11.3.0
  Loading requirement: GCCcore/11.3.0 GMP/6.2.1-GCCcore-11.3.0 nettle/3.8-GCCcore-11.3.0 gc/8.2.2-GCCcore-11.3.0 libffi/3.4.2-GCCcore-11.3.0 libunistring/1.0-GCCcore-11.3.0
    Guile/3.0.8-GCCcore-11.3.0 libtasn1/4.19.0-GCCcore-11.3.0 libidn/1.41-GCCcore-11.3.0 p11-kit/0.24.1-GCCcore-11.3.0 zlib/1.2.12-GCCcore-11.3.0 gzip/1.12-GCCcore-11.3.0
    XZ/5.2.5-GCCcore-11.3.0 lz4/1.9.3-GCCcore-11.3.0 zstd/1.5.2-GCCcore-11.3.0
Apptainer> pkg-config --modversion gnutls
3.7.8
Apptainer> pkg-config --cflags gnutls
-I/apps/sw-eb/software/p11-kit/0.24.1-GCCcore-11.3.0/include/p11-kit-1 -I/usr/local/include 
Apptainer> echo $?
0
Apptainer> ldd $EBROOTGNUTLS/lib/* 
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/guile:
ldd: /apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/guile: not regular file
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls-openssl.la:
        not a dynamic executable
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls-openssl.so:
        linux-vdso.so.1 (0x00007ffc3f187000)
        libgnutls.so.30 => /apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls.so.30 (0x000014db9c1e3000)
        libz.so.1 => /apps/sw-eb/software/zlib/1.2.12-GCCcore-11.3.0/lib/libz.so.1 (0x000014db9c5f1000)
        libp11-kit.so.0 => /apps/sw-eb/software/p11-kit/0.24.1-GCCcore-11.3.0/lib/libp11-kit.so.0 (0x000014db9c4bd000)
        libffi.so.8 => /apps/sw-eb/software/libffi/3.4.2-GCCcore-11.3.0/lib/../lib64/libffi.so.8 (0x000014db9c4af000)
        libdl.so.2 => /lib64/libdl.so.2 (0x000014db9bfdf000)
        libzstd.so.1 => /apps/sw-eb/software/zstd/1.5.2-GCCcore-11.3.0/lib/libzstd.so.1 (0x000014db9bf23000)
        libunistring.so.2 => /apps/sw-eb/software/libunistring/1.0-GCCcore-11.3.0/lib/libunistring.so.2 (0x000014db9bd74000)
        libtasn1.so.6 => /apps/sw-eb/software/libtasn1/4.19.0-GCCcore-11.3.0/lib/libtasn1.so.6 (0x000014db9c496000)
        libnettle.so.8 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libnettle.so.8 (0x000014db9c446000)
        libhogweed.so.6 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libhogweed.so.6 (0x000014db9bd2a000)
        libgmp.so.10 => /apps/sw-eb/software/GMP/6.2.1-GCCcore-11.3.0/lib/libgmp.so.10 (0x000014db9bcab000)
        libm.so.6 => /lib64/libm.so.6 (0x000014db9b929000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x000014db9b709000)
        libc.so.6 => /lib64/libc.so.6 (0x000014db9b344000)
        /lib64/ld-linux-x86-64.so.2 (0x000014db9c3ef000)
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls-openssl.so.27:
        linux-vdso.so.1 (0x00007fff537ee000)
        libgnutls.so.30 => /apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls.so.30 (0x0000152e9915c000)
        libz.so.1 => /apps/sw-eb/software/zlib/1.2.12-GCCcore-11.3.0/lib/libz.so.1 (0x0000152e9956a000)
        libp11-kit.so.0 => /apps/sw-eb/software/p11-kit/0.24.1-GCCcore-11.3.0/lib/libp11-kit.so.0 (0x0000152e99436000)
        libffi.so.8 => /apps/sw-eb/software/libffi/3.4.2-GCCcore-11.3.0/lib/../lib64/libffi.so.8 (0x0000152e99428000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000152e98f58000)
        libzstd.so.1 => /apps/sw-eb/software/zstd/1.5.2-GCCcore-11.3.0/lib/libzstd.so.1 (0x0000152e98e9c000)
        libunistring.so.2 => /apps/sw-eb/software/libunistring/1.0-GCCcore-11.3.0/lib/libunistring.so.2 (0x0000152e98ced000)
        libtasn1.so.6 => /apps/sw-eb/software/libtasn1/4.19.0-GCCcore-11.3.0/lib/libtasn1.so.6 (0x0000152e9940f000)
        libnettle.so.8 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libnettle.so.8 (0x0000152e993bf000)
        libhogweed.so.6 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libhogweed.so.6 (0x0000152e98ca3000)
        libgmp.so.10 => /apps/sw-eb/software/GMP/6.2.1-GCCcore-11.3.0/lib/libgmp.so.10 (0x0000152e98c24000)
        libm.so.6 => /lib64/libm.so.6 (0x0000152e988a2000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000152e98682000)
        libc.so.6 => /lib64/libc.so.6 (0x0000152e982bd000)
        /lib64/ld-linux-x86-64.so.2 (0x0000152e99368000)
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls-openssl.so.27.0.2:
        linux-vdso.so.1 (0x00007ffc91d2a000)
        libgnutls.so.30 => /apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls.so.30 (0x0000148f550f3000)
        libz.so.1 => /apps/sw-eb/software/zlib/1.2.12-GCCcore-11.3.0/lib/libz.so.1 (0x0000148f55501000)
        libp11-kit.so.0 => /apps/sw-eb/software/p11-kit/0.24.1-GCCcore-11.3.0/lib/libp11-kit.so.0 (0x0000148f553cd000)
        libffi.so.8 => /apps/sw-eb/software/libffi/3.4.2-GCCcore-11.3.0/lib/../lib64/libffi.so.8 (0x0000148f553bf000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000148f54eef000)
        libzstd.so.1 => /apps/sw-eb/software/zstd/1.5.2-GCCcore-11.3.0/lib/libzstd.so.1 (0x0000148f54e33000)
        libunistring.so.2 => /apps/sw-eb/software/libunistring/1.0-GCCcore-11.3.0/lib/libunistring.so.2 (0x0000148f54c84000)
        libtasn1.so.6 => /apps/sw-eb/software/libtasn1/4.19.0-GCCcore-11.3.0/lib/libtasn1.so.6 (0x0000148f553a6000)
        libnettle.so.8 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libnettle.so.8 (0x0000148f55356000)
        libhogweed.so.6 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libhogweed.so.6 (0x0000148f54c3a000)
        libgmp.so.10 => /apps/sw-eb/software/GMP/6.2.1-GCCcore-11.3.0/lib/libgmp.so.10 (0x0000148f54bbb000)
        libm.so.6 => /lib64/libm.so.6 (0x0000148f54839000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000148f54619000)
        libc.so.6 => /lib64/libc.so.6 (0x0000148f54254000)
        /lib64/ld-linux-x86-64.so.2 (0x0000148f552ff000)
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls.la:
        not a dynamic executable
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls.so:
        linux-vdso.so.1 (0x00007fff779cd000)
        libz.so.1 => /apps/sw-eb/software/zlib/1.2.12-GCCcore-11.3.0/lib64/libz.so.1 (0x000014c4ae2f2000)
        libp11-kit.so.0 => /apps/sw-eb/software/p11-kit/0.24.1-GCCcore-11.3.0/lib/libp11-kit.so.0 (0x000014c4ae1be000)
        libffi.so.8 => /apps/sw-eb/software/libffi/3.4.2-GCCcore-11.3.0/lib/../lib64/libffi.so.8 (0x000014c4ae1b2000)
        libdl.so.2 => /lib64/libdl.so.2 (0x000014c4adcd2000)
        libzstd.so.1 => /apps/sw-eb/software/zstd/1.5.2-GCCcore-11.3.0/lib/libzstd.so.1 (0x000014c4adc16000)
        libunistring.so.2 => /apps/sw-eb/software/libunistring/1.0-GCCcore-11.3.0/lib/libunistring.so.2 (0x000014c4ada67000)
        libtasn1.so.6 => /apps/sw-eb/software/libtasn1/4.19.0-GCCcore-11.3.0/lib/libtasn1.so.6 (0x000014c4ae197000)
        libnettle.so.8 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libnettle.so.8 (0x000014c4ae147000)
        libhogweed.so.6 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libhogweed.so.6 (0x000014c4ada1d000)
        libgmp.so.10 => /apps/sw-eb/software/GMP/6.2.1-GCCcore-11.3.0/lib/libgmp.so.10 (0x000014c4ad99e000)
        libm.so.6 => /lib64/libm.so.6 (0x000014c4ad61c000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x000014c4ad3fc000)
        libc.so.6 => /lib64/libc.so.6 (0x000014c4ad037000)
        /lib64/ld-linux-x86-64.so.2 (0x000014c4ae0e2000)
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls.so.30:
        linux-vdso.so.1 (0x00007ffc855b5000)
        libz.so.1 => /apps/sw-eb/software/zlib/1.2.12-GCCcore-11.3.0/lib64/libz.so.1 (0x000015442aecd000)
        libp11-kit.so.0 => /apps/sw-eb/software/p11-kit/0.24.1-GCCcore-11.3.0/lib/libp11-kit.so.0 (0x000015442ad99000)
        libffi.so.8 => /apps/sw-eb/software/libffi/3.4.2-GCCcore-11.3.0/lib/../lib64/libffi.so.8 (0x000015442ad8d000)
        libdl.so.2 => /lib64/libdl.so.2 (0x000015442a8ad000)
        libzstd.so.1 => /apps/sw-eb/software/zstd/1.5.2-GCCcore-11.3.0/lib/libzstd.so.1 (0x000015442a7f1000)
        libunistring.so.2 => /apps/sw-eb/software/libunistring/1.0-GCCcore-11.3.0/lib/libunistring.so.2 (0x000015442a642000)
        libtasn1.so.6 => /apps/sw-eb/software/libtasn1/4.19.0-GCCcore-11.3.0/lib/libtasn1.so.6 (0x000015442ad72000)
        libnettle.so.8 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libnettle.so.8 (0x000015442ad22000)
        libhogweed.so.6 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libhogweed.so.6 (0x000015442a5f8000)
        libgmp.so.10 => /apps/sw-eb/software/GMP/6.2.1-GCCcore-11.3.0/lib/libgmp.so.10 (0x000015442a579000)
        libm.so.6 => /lib64/libm.so.6 (0x000015442a1f7000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000154429fd7000)
        libc.so.6 => /lib64/libc.so.6 (0x0000154429c12000)
        /lib64/ld-linux-x86-64.so.2 (0x000015442acbd000)
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls.so.30.34.2:
        linux-vdso.so.1 (0x00007ffefff48000)
        libz.so.1 => /apps/sw-eb/software/zlib/1.2.12-GCCcore-11.3.0/lib64/libz.so.1 (0x00001535878df000)
        libp11-kit.so.0 => /apps/sw-eb/software/p11-kit/0.24.1-GCCcore-11.3.0/lib/libp11-kit.so.0 (0x00001535877ab000)
        libffi.so.8 => /apps/sw-eb/software/libffi/3.4.2-GCCcore-11.3.0/lib/../lib64/libffi.so.8 (0x000015358779f000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00001535872bf000)
        libzstd.so.1 => /apps/sw-eb/software/zstd/1.5.2-GCCcore-11.3.0/lib/libzstd.so.1 (0x0000153587203000)
        libunistring.so.2 => /apps/sw-eb/software/libunistring/1.0-GCCcore-11.3.0/lib/libunistring.so.2 (0x0000153587054000)
        libtasn1.so.6 => /apps/sw-eb/software/libtasn1/4.19.0-GCCcore-11.3.0/lib/libtasn1.so.6 (0x0000153587784000)
        libnettle.so.8 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libnettle.so.8 (0x0000153587734000)
        libhogweed.so.6 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libhogweed.so.6 (0x000015358700a000)
        libgmp.so.10 => /apps/sw-eb/software/GMP/6.2.1-GCCcore-11.3.0/lib/libgmp.so.10 (0x0000153586f8b000)
        libm.so.6 => /lib64/libm.so.6 (0x0000153586c09000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00001535869e9000)
        libc.so.6 => /lib64/libc.so.6 (0x0000153586624000)
        /lib64/ld-linux-x86-64.so.2 (0x00001535876cf000)
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutlsxx.la:
        not a dynamic executable
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutlsxx.so:
        linux-vdso.so.1 (0x00007ffc3d1f1000)
        libgnutls.so.30 => /apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls.so.30 (0x000015364120a000)
        libz.so.1 => /apps/sw-eb/software/zlib/1.2.12-GCCcore-11.3.0/lib/libz.so.1 (0x0000153641614000)
        libp11-kit.so.0 => /apps/sw-eb/software/p11-kit/0.24.1-GCCcore-11.3.0/lib/libp11-kit.so.0 (0x00001536414de000)
        libffi.so.8 => /apps/sw-eb/software/libffi/3.4.2-GCCcore-11.3.0/lib/../lib64/libffi.so.8 (0x00001536414d2000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000153641006000)
        libzstd.so.1 => /apps/sw-eb/software/zstd/1.5.2-GCCcore-11.3.0/lib/libzstd.so.1 (0x0000153640f4a000)
        libunistring.so.2 => /apps/sw-eb/software/libunistring/1.0-GCCcore-11.3.0/lib/libunistring.so.2 (0x0000153640d9b000)
        libtasn1.so.6 => /apps/sw-eb/software/libtasn1/4.19.0-GCCcore-11.3.0/lib/libtasn1.so.6 (0x00001536414b9000)
        libnettle.so.8 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libnettle.so.8 (0x0000153641467000)
        libhogweed.so.6 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libhogweed.so.6 (0x0000153640d51000)
        libgmp.so.10 => /apps/sw-eb/software/GMP/6.2.1-GCCcore-11.3.0/lib/libgmp.so.10 (0x0000153640cd2000)
        libm.so.6 => /lib64/libm.so.6 (0x0000153640950000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000153640730000)
        libstdc++.so.6 => /apps/sw-eb/software/GCCcore/11.3.0/lib/../lib64/libstdc++.so.6 (0x0000153640518000)
        libgcc_s.so.1 => /apps/sw-eb/software/GCCcore/11.3.0/lib/../lib64/libgcc_s.so.1 (0x000015364144b000)
        libc.so.6 => /lib64/libc.so.6 (0x0000153640153000)
        /lib64/ld-linux-x86-64.so.2 (0x0000153641416000)
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutlsxx.so.30:
        linux-vdso.so.1 (0x00007ffc8371f000)
        libgnutls.so.30 => /apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls.so.30 (0x000014e3c716d000)
        libz.so.1 => /apps/sw-eb/software/zlib/1.2.12-GCCcore-11.3.0/lib/libz.so.1 (0x000014e3c7577000)
        libp11-kit.so.0 => /apps/sw-eb/software/p11-kit/0.24.1-GCCcore-11.3.0/lib/libp11-kit.so.0 (0x000014e3c7441000)
        libffi.so.8 => /apps/sw-eb/software/libffi/3.4.2-GCCcore-11.3.0/lib/../lib64/libffi.so.8 (0x000014e3c7435000)
        libdl.so.2 => /lib64/libdl.so.2 (0x000014e3c6f69000)
        libzstd.so.1 => /apps/sw-eb/software/zstd/1.5.2-GCCcore-11.3.0/lib/libzstd.so.1 (0x000014e3c6ead000)
        libunistring.so.2 => /apps/sw-eb/software/libunistring/1.0-GCCcore-11.3.0/lib/libunistring.so.2 (0x000014e3c6cfe000)
        libtasn1.so.6 => /apps/sw-eb/software/libtasn1/4.19.0-GCCcore-11.3.0/lib/libtasn1.so.6 (0x000014e3c741c000)
        libnettle.so.8 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libnettle.so.8 (0x000014e3c73ca000)
        libhogweed.so.6 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libhogweed.so.6 (0x000014e3c6cb4000)
        libgmp.so.10 => /apps/sw-eb/software/GMP/6.2.1-GCCcore-11.3.0/lib/libgmp.so.10 (0x000014e3c6c35000)
        libm.so.6 => /lib64/libm.so.6 (0x000014e3c68b3000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x000014e3c6693000)
        libstdc++.so.6 => /apps/sw-eb/software/GCCcore/11.3.0/lib/../lib64/libstdc++.so.6 (0x000014e3c647b000)
        libgcc_s.so.1 => /apps/sw-eb/software/GCCcore/11.3.0/lib/../lib64/libgcc_s.so.1 (0x000014e3c73ae000)
        libc.so.6 => /lib64/libc.so.6 (0x000014e3c60b6000)
        /lib64/ld-linux-x86-64.so.2 (0x000014e3c7379000)
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutlsxx.so.30.0.0:
        linux-vdso.so.1 (0x00007ffd322d7000)
        libgnutls.so.30 => /apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/libgnutls.so.30 (0x0000154f1aa38000)
        libz.so.1 => /apps/sw-eb/software/zlib/1.2.12-GCCcore-11.3.0/lib/libz.so.1 (0x0000154f1ae42000)
        libp11-kit.so.0 => /apps/sw-eb/software/p11-kit/0.24.1-GCCcore-11.3.0/lib/libp11-kit.so.0 (0x0000154f1ad0c000)
        libffi.so.8 => /apps/sw-eb/software/libffi/3.4.2-GCCcore-11.3.0/lib/../lib64/libffi.so.8 (0x0000154f1ad00000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000154f1a834000)
        libzstd.so.1 => /apps/sw-eb/software/zstd/1.5.2-GCCcore-11.3.0/lib/libzstd.so.1 (0x0000154f1a778000)
        libunistring.so.2 => /apps/sw-eb/software/libunistring/1.0-GCCcore-11.3.0/lib/libunistring.so.2 (0x0000154f1a5c9000)
        libtasn1.so.6 => /apps/sw-eb/software/libtasn1/4.19.0-GCCcore-11.3.0/lib/libtasn1.so.6 (0x0000154f1ace7000)
        libnettle.so.8 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libnettle.so.8 (0x0000154f1ac95000)
        libhogweed.so.6 => /apps/sw-eb/software/nettle/3.8-GCCcore-11.3.0/lib/libhogweed.so.6 (0x0000154f1a57f000)
        libgmp.so.10 => /apps/sw-eb/software/GMP/6.2.1-GCCcore-11.3.0/lib/libgmp.so.10 (0x0000154f1a500000)
        libm.so.6 => /lib64/libm.so.6 (0x0000154f1a17e000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000154f19f5e000)
        libstdc++.so.6 => /apps/sw-eb/software/GCCcore/11.3.0/lib/../lib64/libstdc++.so.6 (0x0000154f19d46000)
        libgcc_s.so.1 => /apps/sw-eb/software/GCCcore/11.3.0/lib/../lib64/libgcc_s.so.1 (0x0000154f1ac79000)
        libc.so.6 => /lib64/libc.so.6 (0x0000154f19981000)
        /lib64/ld-linux-x86-64.so.2 (0x0000154f1ac44000)
/apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/pkgconfig:
ldd: /apps/sw-eb/software/GnuTLS/3.7.8-GCCcore-11.3.0/lib/pkgconfig: not regular file

I am as baffled as you are but for one reason or another, adding Brotli did the trick. Maybe something else is pulled in?

@branfosj branfosj added this to the 4.x milestone Jul 10, 2023
@Flamefire
Copy link
Contributor

Flamefire commented Oct 24, 2023

From current Slack discussion:
@sassy-crick has a GnuTLS pkgconfig with:

Name: GnuTLS
Description: Transport Security Layer implementation for the GNU system
URL: https://www.gnutls.org/
Version: 3.7.8
Libs: -L${libdir} -lgnutls
Libs.private:        -lgmp -lunistring -latomic 
Requires.private: nettle, hogweed, libtasn1, p11-kit-1, zlib, libbrotlienc, libbrotlidec, libzstd
Cflags: -I${includedir}

On e.g. my system the libbrotli* libs are not there, so the Brotli dependency would be for GnuTLS but first it would be required to determine why on his system that dependency is added in the first place.

Edit: From the GnuTLS configure:

checking whether to include brotli compression support... yes
checking for LIBBROTLIENC... no
checking for LIBBROTLIDEC... no
configure: WARNING: *** LIBBROTLI was not found. You will not be able to use BROTLI compression.

So I assume it found the system Brotli at some point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants