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

Dave English dave at wiredthing.com
Wed Dec 3 10:42:00 CET 2014


Yes, no doubt, renaming /opt solves it.

Cheers


> On 1 Dec 2014, at 19:27, Ludwig Hügelschäfer <mlisten at hammernoch.net> wrote:
> 
> Signed PGP part
> 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
> 
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20141203/6b15adcb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: </pipermail/attachments/20141203/6b15adcb/attachment.sig>


More information about the Gnupg-users mailing list