bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking error when building gettext 0.17 under Mac OS X 10.5


From: Bruno Haible
Subject: Re: Linking error when building gettext 0.17 under Mac OS X 10.5
Date: Mon, 12 Nov 2007 05:04:27 +0100
User-agent: KMail/1.5.4

Marius Schamschula wrote:
> After having built libiconv 1.12/gettext 0.17 on my Mac OS X 10.3 and
> 10.4 machines I ran into a problem under 10.5:
> ...
> ld: duplicate symbol _g_bit_nth_lsf in
> .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-additional-sel.o
> and .libs/term-styled-ostream.o
> 
> collect2: ld returned 1 exit status
> make[4]: *** [libgettextlib.la] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
> 
> Any ideas?

Googling for _g_bit_nth_lsf shows a number of people have the same problem
when compiling programs based on glib on the new MacOS X 10.5. See e.g.
<http://lists.apple.com/archives/xcode-users/2007/Oct/msg00482.html>

For me it looks like a bug in the glib header file or libraries that are
shipped with MacOS X 10.5.

You can work around this bug by configuring gettext 0.17 with
--with-included-glib.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]