GnuPG 2.1.16 build error on Mac OS X

Werner Koch wk at
Mon Nov 21 16:59:44 CET 2016

On Mon, 21 Nov 2016 14:28, patrick at said:
> Building tools/gpg-wks-client fails on Mac OS X because $(LIBINTL) is
> not specified.

Yep, see .  Interesting fact is
that our build links against iconv:

 gcc -I/Users/jenkins/prefix/native/include
   -I/Users/jenkins/prefix/native/include -O3 -Wall -Wcast-align -Wshadow
   -Wstrict-prototypes -Wformat -Wno-format-y2k -Wformat-security -W
   -Wno-sign-compare -Wno-missing-field-initializers
   -Wdeclaration-after-statement -Wno-pointer-sign -Wpointer-arith
   -D_DARWIN_C_SOURCE=900000L -fPIC -o gpg-wks-client
   gpg_wks_client-gpg-wks-client.o gpg_wks_client-wks-util.o
   gpg_wks_client-wks-receive.o gpg_wks_client-rfc822parse.o
   gpg_wks_client-mime-parser.o gpg_wks_client-mime-maker.o
   gpg_wks_client-send-mail.o gpg_wks_client-call-dirmngr.o
   ../common/libcommon.a -lassuan -L/Users/jenkins/prefix/native/lib
   -lgpg-error -L/Users/jenkins/prefix/native/lib -lgcrypt -lgpg-error
   -L/Users/jenkins/prefix/native/lib -lgpg-error -L/Users/jenkins/pkg/lib

which is due to this change (part of 2.1.16):

  commit 6054e8aaecbd355bb7559697eecaadf2225189b8
  Author:     Justus Winter <justus at>
  AuthorDate: Fri Sep 30 12:34:31 2016 +0200
  Commit:     Justus Winter <justus at>
  CommitDate: Fri Sep 30 17:45:59 2016 +0200
      build: Fix build against libiconv.
      * agent/ Add INCICONV and LIBICONV.
      * common/ Likewise.
      * tools/ Likewise.
So, what is different on your build?



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: </pipermail/attachments/20161121/b8733913/attachment.sig>

More information about the Gnupg-devel mailing list