Problem compiling GnuPG 1.4.18 on OS X 10.10, was: Problem compiling GnuPG 2.1.0 on OS X 10.10

Ludwig Hügelschäfer mlisten at hammernoch.net
Mon Dec 1 20:27:58 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 01.12.14 13:13, Dave English wrote:

> I have though what looks like the same problem trying to build
> 1.4.18 from source on Mac OS X 10.10, according to the howto
> Version 4.26 (1 July 2014):
> 
> http://macgpg.sourceforge.net/docs/howto-build-gpg-osx.txt.asc
> 
> This fails for me with:
> 
> gcc  -arch x86_64 -Wall -Wno-pointer-sign   -o gpg gpg.o
> build-packet.o compress.o compress-bz2.o free-packet.o getkey.o
> keydb.o keyring.o seskey.o kbnode.o mainproc.o armor.o mdfilter.o
> textfilter.o progress.o misc.o openfile.o keyid.o parse-packet.o
> status.o plaintext.o sig-check.o keylist.o signal.o cardglue.o
> tlv.o card-util.o app-openpgp.o iso7816.o apdu.o ccid-driver.o
> pkclist.o skclist.o pubkey-enc.o passphrase.o seckey-cert.o
> encr-data.o cipher.o encode.o sign.o verify.o revoke.o decrypt.o
> keyedit.o dearmor.o import.o export.o trustdb.o tdbdump.o tdbio.o
> delkey.o keygen.o pipemode.o helptext.o keyserver.o photoid.o
> exec.o ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
> -liconv -lresolv ../intl/libintl.a -liconv  -Wl,-framework
> -Wl,CoreFoundation  -lz -lbz2     -L/opt/local/lib -lusb Undefined
> symbols for architecture x86_64: "_iconv", referenced from: 
> _native_to_utf8 in libutil.a(strgutil.o) _utf8_to_native in
> libutil.a(strgutil.o) __nl_find_msg in libintl.a(dcigettext.o) 
> "_iconv_close", referenced from: _native_to_utf8 in
> libutil.a(strgutil.o) _set_native_charset in libutil.a(strgutil.o) 
> _utf8_to_native in libutil.a(strgutil.o) "_iconv_open", referenced
> from: _native_to_utf8 in libutil.a(strgutil.o) _set_native_charset
> in libutil.a(strgutil.o) _utf8_to_native in libutil.a(strgutil.o) 
> __nl_find_msg in libintl.a(dcigettext.o) ld: symbol(s) not found
> for architecture x86_64

(...)

> I’m not sure how to patch the make files suitably for a GnuPG
> version 1 build.

Do you have software installed by fink, Macports or homebrew? If yes,
please rename the /opt (or wherever they install their binaries)
directory. After gpg1 is compiled, rename it back.

Ludwig

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCgAGBQJUfME+AAoJEA52XAUJWdLjD/UH/0F0DETpwmJuolJEUJSSUBVo
3Z/sEkfVo0LPQa5y2mpEjNU1+wG8MkUoOxSq72/+E+EMBuPLTMyVS8KXolb2mTh9
9/hxRVzqjg0rkhWbrbtitIEpEXkDX1DFk8Uk5u7zVQAP/k9XdjfxZqYjhI+KV7vL
16Gi8qgbsY+vqqcSQnjhVh/nd3/HQlPJnYWJ0eFCl7PVfpc8Wb6sCgPxe+bsyXr3
TWAmVziSzkLgqG6teO7gRxNYOTgC8UMv4JjwDvXDQh0/PVjQy8oipIe98adBNsbE
SiMNsYqV7Wiknz8YhoqyWUeNAJPW3J0j2umukpVo5dCxTLurA4+e0SPylWLuvkw=
=xPgS
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list