gnupg 1.4.3 build fails @ 'make' on OSX 10.4.5, unless "--disable-nls"

David Shaw dshaw at jabberwocky.com
Tue Apr 4 00:16:25 CEST 2006


On Mon, Apr 03, 2006 at 09:26:31AM -0700, OpenMacNews wrote:
> hi all.
> 
> 1.4.2 was built/running OK on my OSX 10.4.5.
> 
> attempting the 1.4.3 build ...
> 
> ./configure w/:
> 
> 	./configure \
> 	--prefix=/usr/local \
> 	--with-readline=/usr/local \
> 	--with-zlib=/usr/local \
> 	--with-libcurl=/usr/local/lib
> 
> results in a 'make' fail @:
> 
> 	...
> 	Making all in tools
> 	if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl
> -L/usr/local/include -I/usr/local/include -I/usr/local/include
> -I/usr/local/include  -g -O2 -Wall -Wno-pointer-sign -MT gpgsplit.o -MD
> -MP -MF ".deps/gpgsplit.Tpo" -c -o gpgsplit.o gpgsplit.c; \
> 	then mv -f ".deps/gpgsplit.Tpo" ".deps/gpgsplit.Po"; else rm -f
> ".deps/gpgsplit.Tpo"; exit 1; fi
> 	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.

What happens if you build with --with-included-gettext ?

David



More information about the Gnupg-users mailing list