[gnutls-devel] GnuTLS | ClientHello extension permutation (#1465)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Mar 13 08:19:27 CET 2023

Daiki Ueno commented on a discussion: https://gitlab.com/gnutls/gnutls/-/issues/1465#note_1310893292

I see this:

configure:12461: checking for __gmpz_cmp in -lgmp
configure:12484: gcc -o conftest -g -O2   -Wl,-no_weak_imports conftest.c -lgmp   >&5
ld: library not found for -lgmp
clang: error: linker command failed with exit code 1 (use -v to see invocation)

That might be an actual issue in the GnuTLS build infrastructure, so it shouldn't assume libgmp is available on the default library path (patch to fix this would be appreciated :-).

Since your `brew list gmp` output contains a pkgconfig path, maybe you could work it around with:
./configure GMP_CFLAGS=$(pkg-config gmp --cflags) GMP_LIBS=$(pkg-config gmp --libs) ...

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1465#note_1310893292
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20230313/6cfa5f19/attachment-0001.html>

More information about the Gnutls-devel mailing list