GnuPG 2.1.14: errors with tests/gpgscm

Patrick Brunschwig patrick at enigmail.net
Fri Jul 15 10:20:21 CEST 2016


tests/gpgscm is failing with:

gcc -imacros scheme-config.h -I/Users/pbr/enigmail/gpg21/dist64/include
-I/Users/pbr/enigmail/gpg21/dist64/include
-I/Users/pbr/enigmail/gpg21/dist64/include -Wall -Wno-pointer-sign
-Wpointer-arith  -arch x86_64 -Ofast
-L/Users/pbr/enigmail/gpg21/dist64/lib -arch x86_64
-L/Users/pbr/enigmail/gpg21/dist64/lib -o gpgscm gpgscm-main.o
gpgscm-ffi.o gpgscm-scheme.o  ../../common/libcommon.a
/Users/pbr/enigmail/gpg21/dist64/lib/libiconv.dylib -lreadline
-L/Users/pbr/enigmail/gpg21/dist64/lib -lgcrypt -lgpg-error
-L/Users/pbr/enigmail/gpg21/dist64/lib -lgpg-error

Undefined symbols for architecture x86_64:
  "_libintl_bind_textdomain_codeset", referenced from:
      _i18n_switchto_utf8 in libcommon.a(libcommon_a-i18n.o)
      _i18n_switchback in libcommon.a(libcommon_a-i18n.o)
      _i18n_utf8 in libcommon.a(libcommon_a-i18n.o)
[...]

It looks like like the Makefile is missing -lintl

I tried to build gpg 2.1.14 with --disable-tests, but tests/gpgscm is
built nevertheless

-Patrick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20160715/ed80dd77/attachment-0001.sig>


More information about the Gnupg-devel mailing list