[gnutls-devel] GnuTLS | macOS compilation fails (#662)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Dec 25 13:21:32 CET 2018
New Issue was created.
Issue 662: https://gitlab.com/gnutls/gnutls/issues/662
Author: Taner Sener
I can not build v3.6.5 on macOS with nettle v3.4.1. Compilation fails with `configure: error: Nettle lacks the required rsa_sec_decrypt function`.
config.log has the following lines for that section. Full log is can be found in [config.log.gz](/uploads/380a945fa34813fde3b49b29d97f5d33/config.log.gz).
configure:61617: checking for rsa_sec_decrypt
configure:61617: gcc -o conftest -g -O2 -I/usr/local/include -Wl,-no_weak_imports conftest.c -lidn2 -L/usr/local/lib -lhogweed >&5
Undefined symbols for architecture x86_64:
"_rsa_sec_decrypt", referenced from:
_main in conftest-97e833.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
nettle v3.4.1 is installed with `./configure; make; make install` command under /usr/local.
When I checked the `rsa_sec_decrypt` function, I saw that it was defined inside libhogweed library with the `nettle` prefix.
nm -a rsa-sec-decrypt.o
0000000000000000 T _nettle_rsa_sec_decrypt
It seems like there is a mismatch in function names. Do you have a fix for that?
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/662
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel