Problem compiling libgpg-error-1.4 with Mac OS X

Simon Ruderich simon at ruderich.com
Tue Nov 14 22:42:12 CET 2006


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

Hi,
I'm trying to compile GnuPG 2.0 with Mac OS X. But I'm already  
failing with compiling libgpg-error-1.4.
./configure works but when I run make the following error is  
displayed and make fails:

/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2   -o libgpg- 
error.la -rpath /usr/local/lib  -version-info 3:0:3     
libgpg_error_la-init.lo libgpg_error_la-strsource.lo libgpg_error_la- 
strerror.lo libgpg_error_la-code-to-errno.lo libgpg_error_la-code- 
from-errno.lo ../intl/libintl.a -liconv -Wl,-framework - 
Wl,CoreFoundation

*** Warning: Linking the shared library libgpg-error.la against the
*** static library ../intl/libintl.a is not portable!
gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libgpg- 
error.0.3.0.dylib  .libs/libgpg_error_la-init.o .libs/libgpg_error_la- 
strsource.o .libs/libgpg_error_la-strerror.o .libs/libgpg_error_la- 
code-to-errno.o .libs/libgpg_error_la-code-from-errno.o  ../intl/ 
libintl.a /usr/lib/libiconv.dylib -Wl,-framework -Wl,CoreFoundation - 
install_name  /usr/local/lib/libgpg-error.0.dylib -Wl,- 
compatibility_version -Wl,4 -Wl,-current_version -Wl,4.0
ld: warning multiple definitions of symbol _locale_charset
../intl/libintl.a(localcharset.o) definition of _locale_charset in  
section (__TEXT,__text)
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
ld: common symbols not allowed with MH_DYLIB output format with the - 
multi_module option
../intl/libintl.a(loadmsgcat.o) definition of common  
__nl_msg_cat_cntr (size 4)
../intl/libintl.a(dcigettext.o) definition of common  
_libintl_nl_domain_bindings (size 4)
../intl/libintl.a(plural-exp.o) definition of common  
_libintl_gettext_germanic_plural (size 20)
/usr/bin/libtool: internal link edit command failed

Could you please help me with this. I'm using Mac OS X 10.4.0 with an  
iMac G4.
Thanks in advance,
Simon
- ----
 > privacy is necessary
 > using http://gnupg.org
 > public key id: 0x6115F804EFB33229 http://ruderich.com/ 
simonruderich.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFWjg0YRX4BO+zMikRCjK/AJ0WtTEGKTfEIeqXkK6R/kDtxlrpTQCfejFK
PnkGT0uoiWJFWEpha0oO5wU=
=xZTB
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list