gnupg 1.4.3 build fails @ 'make' on OSX 10.4.5,
unless "--disable-nls"
David Shaw
dshaw at jabberwocky.com
Tue Apr 4 03:03:22 CEST 2006
On Mon, Apr 03, 2006 at 04:07:49PM -0700, OpenMacNews wrote:
> >> gcc -g -O2 -Wall -Wno-pointer-sign -L/usr/local/lib -lreadline -lpcre
> >> -L/usr/local/lib -L/usr/local/lib -o gpgsplit gpgsplit.o
> >> ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a -liconv -lintl
> >> -liconv -lc -lz -lbz2
> >> /usr/bin/ld: multiple definitions of symbol _xfree
> >> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xfree
> >> ../util/libutil.a(memory.o) definition of _xfree in section (__TEXT,__text)
> >> /usr/bin/ld: multiple definitions of symbol _xmalloc
> >> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xmalloc
> >> ../util/libutil.a(memory.o) definition of _xmalloc in section
> >> (__TEXT,__text)
> >> /usr/bin/ld: multiple definitions of symbol _xrealloc
> >> /usr/local/lib/libreadline.dylib(xmalloc.so) definition of _xrealloc
> >> ../util/libutil.a(memory.o) definition of _xrealloc in section
> >> (__TEXT,__text)
> >> /usr/bin/ld: warning multiple definitions of symbol _locale_charset
> >> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libiconv.dylib(localcharset.o)
> >> definition of _locale_charset
> >> /usr/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset
> >
> > This one doesn't seem related to GnuPG: you installed a a new gettext
> > and it's conflicting with the Apple-shipped iconv.
>
> well, not exactly ... yes i see the conflict, but no, i did not install
> a 'new' gettext ... its' the same one i've built 1.4.2.2 against.
It was just luck that 1.4.3 triggers the failure and 1.4.2 doesn't.
The code in 1.4.3 is legal. Your library setup seems not to be.
I have a Tiger box and 1.4.3 builds fine. Even if I add readline, it
still builds fine. Maybe go to the Apple site and download the latest
build environment? Aside from that, I'm not sure what to suggest to
you aside from building without your added readline or with
--disable-nls, or maybe with --disable-gnupg-iconv
David
More information about the Gnupg-users
mailing list