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

OpenMacNews openmacnews at gmail.com
Tue Apr 4 01:07:49 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hi david,


>> 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.

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.

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

have not tried as yet, as it is/was working w/ 1.4.2.2:

otool -L /usr/local/bin/gpg
 /usr/local/lib/libreadline.5.1.dylib (compatibility version 5.0.0,
current version 5.1.0)
 /usr/local/lib/libpcre.0.dylib (compatibility version 1.0.0, current
version 1.1.0)
 /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version
5.0.0)
 /usr/local/lib/libintl.3.dylib (compatibility version 8.0.0, current
version 8.3.0)
 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.1.5)
 /usr/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.3)
 /usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version
1.0.2)
 /usr/local/lib/libusb-0.1.4.dylib (compatibility version 9.0.0, current
version 9.4.0)
 /usr/local/lib/libcurl.3.dylib (compatibility version 4.0.0, current
version 4.0.0)
 /usr/local/lib/libidn.11.dylib (compatibility version 17.0.0, current
version 17.17.0)
 /usr/local/ssl/lib/libssl.0.9.7.dylib (compatibility version 0.9.0,
current version 0.9.7)
 /usr/local/ssl/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.0,
current version 0.9.7)
 /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
1.0.0)

richard


- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iEYEAREDAAYFAkQxqsUACgkQlffdvTZxCMbaLwCfetE2xRDKXWJqlAObLsaD3OhR
rocAoLq228yqLnWARSDopomLAHrBxS/A
=qme/
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list