Re: pangox bug (missing -lX11 from pangox.pc)



Ami Fischman <usenet fischman org> writes:

> Hi there,
> I believe there is a bug in pango-1.0.4, in that doing a fresh install
> (through garnome 0.15.0), the lib/pkgconfig/pangox.pc file gets:
> Libs: -L${libdir} -lpangox-1.0 
> even though the pangox lib has linked in various X11 symbols.  The line
> that works for me is:
> Libs: -L${libdir} -lpangox-1.0 -L/usr/X11R6/lib -lX11
> 
> I ran into this problem when garnome tried to compile gtk+-2.0.6 and one of
> the configure lines (checking for pango_context_new in -lpango-1.0) kept
> failing on the link stage.
> 
> Is this a known problem?  Is there a better workaround than manually
> editing the pangox.pc file?

It's probably related to the "explicit dependencies" handling
in Pango; if Pango thinks your system can get shared library
dependencies right, it won't put them into the pkg-config file.



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