Re: pango failure on Darwin
- From: Max Horn <max quendi de>
- To: Finlay Dobbie <finlay dobbie btinternet com>, gtk-devel-list gnome org
- Subject: Re: pango failure on Darwin
- Date: Fri, 14 Sep 2001 23:56:41 +0200
At 22:39 Uhr +0100 14.09.2001, Finlay Dobbie wrote:
Darwin's dynamic linker is notoriously fussy, and even something as
simple as this can make it break:
gcc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libpango-0.18.dylib break.lo fonts.lo glyphstring.lo
mapping.lo modules.lo pango-attributes.lo pango-color.lo
pango-context.lo pango-coverage.lo pango-fontmap.lo pango-intset.lo
pango-item.lo pango-layout.lo pango-markup.lo pango-tabs.lo
pango-utils.lo reorder-items.lo shape.lo pango-enum-types.lo
-all_load mini-
fribidi/.libs/libmini-fribidi.al -L/sw/lib -L/usr/local/lib
-lgobject-1.3 -lgmodule-1.3 -ldl -lglib-1.3 -liconv mini-
fribidi/.libs/libmini-fribidi.al -lc -install_name
/usr/local/lib/libpango-0.18.dylib
ld: multiple definitions of symbol __pango_fribidi_get_type
mini-fribidi/.libs/libmini-fribidi.al(fribidi_get_type.lo)
definition of __pango_fribidi_get_type in section (__TEXT,__text)
mini-fribidi/.libs/libmini-fribidi.al(fribidi_get_type.lo)
definition of __pango_fribidi_get_type in section (__TEXT,__text)
ld: multiple definitions of symbol _pango_get_mirror_char
mini-fribidi/.libs/libmini-fribidi.al(fribidi_get_type.lo)
definition of _pango_get_mirror_char in section (__TEXT,__text)
mini-fribidi/.libs/libmini-fribidi.al(fribidi_get_type.lo)
definition of _pango_get_mirror_char in section (__TEXT,__text)
ld: multiple definitions of symbol _pango_log2vis_get_embedding_levels
mini-fribidi/.libs/libmini-fribidi.al(fribidi.lo) definition of
_pango_log2vis_get_embedding_levels in section (__TEXT,__text)
mini-fribidi/.libs/libmini-fribidi.al(fribidi.lo) definition of
_pango_log2vis_get_embedding_levels in section (__TEXT,__text)
/usr/bin/libtool: internal link edit command failed
The solution is to remove the first or the second mini-fribidi from
the link line, but I'm not sure how you'd go about doing this. Does
anybody who is familiar with the pango makefiles want to comment?
(BTW it appears to build OK with --disable-shared)
This is a bug in libtool!
You can get around it by doing that compile manually, make will see
the generated file and continue afterwards.
Christoph and me already submitted a patch for libtool, but that
seems to cause other problems on other platforms :/ It is being
inverstigated.
Max
--
-----------------------------------------------
Max Horn
Software Developer
email: <mailto:max quendi de>
phone: (+49) 6151-494890
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]