Re: gtk+-3.0.10: undefined reference to `XCompositeReleaseOverlayWindow'



On Fri, Jun 24, 2011 at 10:25:04AM +0100, Emmanuele Bassi wrote:
> On 2011-06-23 at 18:53, Patrick Welche wrote:
> > On Thu, Jun 23, 2011 at 11:00:17AM -0400, twurgl goodyear com wrote:
> > > I reconfigured with --disable-xcomposite
> > > and got MUCH further in the compile, but now hit:
> > > 
> > >   CCLD   gtk-query-immodules-3.0
> > > ./.libs/libgtk-3.so: undefined reference to `pango_cairo_show_glyph_item'
> > 
> > Same sort of lark:
> > pango_cairo_show_glyph_item appeared in libpangocairo "v1.22"
> > 
> > ldd ./.libs/libgtk-3.so should tell you if libpangocairo was found,
> > and something like nm -g /usr/lib/libpangocairo-1.0.a
> > 0000000000001df0 T pango_cairo_show_glyph_item
> > will tell you if your library has that function.
> > 
> > (again maybe we want an
> > AC_CHECK_LIB([pangocairo-1.0], [pango_cairo_show_glyph_item])
> > in configure.ac ...)
> 
> that would be quite pointless, since gtk+'s configure in the gtk-3-0
> branch depends on Pango ??? 1.24:
> 
>   m4_define([pango_required_version], [1.24.0])
> 
> the change was introduced in the commit:
>   e10759af163bdb78945e27e12ba7e821248c476a
> 
> which followed the 3.0.2 released.

I wonder how the OP got into that situation then: an old pango without
the symbol was being linked to... (I still find it odd that instead of
checking for a symbol, one looks up which version the symbol appeared
in, and then check for the version, instead of the more obviously direct
approach...)

Cheers,

Patrick


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