[Users] Error while compiling on macOS

Leo leo at heitmannruiz.org
Mon Dec 11 18:07:27 UTC 2023


./autogen.sh --with-gnutls
CPPFLAGS='-I /opt/homebrew/Cellar/gnutls/3.8.2/include'

Executing this I get the attached config.log and the following error
during make:

/bin/sh ../libtool  --tag=CXX   --mode=link g++  -g -O2  -version-info 25:0:5 -lz -o libetpan.la -rpath /usr/local/lib   data-types/libdata-types.la low-level/liblow-level.la driver/libdriver.la main/libmain.la engine/libengine.la  -lz  -lpthread  -liconv  -lgnutls -lgcrypt -lgpg-error -lz -lsasl2  -lz  -lpthread
libtool: link: g++ -r -keep_private_externs -nostdlib -o .libs/libetpan.20.dylib-master.o   -Wl,-force_load,data-types/.libs/libdata-types.a -Wl,-force_load,low-level/.libs/liblow-level.a -Wl,-force_load,driver/.libs/libdriver.a -Wl,-force_load,main/.libs/libmain.a -Wl,-force_load,engine/.libs/libengine.a
libtool: link: g++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libetpan.20.dylib .libs/libetpan.20.dylib-master.o  -liconv -lgnutls -lgcrypt -lgpg-error -lsasl2 -lz -lpthread  -g -O2   -install_name  /usr/local/lib/libetpan.20.dylib -compatibility_version 26 -current_version 26.0
ld: library 'gnutls' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libetpan.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.zip
Type: application/octet-stream
Size: 14157 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20231211/b50249c1/attachment-0001.obj>


More information about the Users mailing list