Subject: Re: packages depending on latest gtk2 crash on Darwin
To: Matthias Scheler <tron@zhadum.org.uk>
From: Mark E. Perkins <perkinsm@bway.net>
List: pkgsrc-users
Date: 01/14/2007 13:57:40
On 2007/01/13 13:27, Matthias Scheler wrote:
> 
> tron@whitestar:~>gcc --version
> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
> Copyright (C) 2005 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> This compiler is from Xcode tools 2.4.1.

I updated my Xcode tools, but that did not fix the problem.  It turns out that
libcairo was linked against /usr/X11R6/lib/libfontconfig (which is from Apple
and appears to be version 1.something) and libpangocairo was linked against
/usr/pkg/lib/libfontconfig (v2.4.2nb2).  Since gqview (and others) are linked
against libcairo and libpangocairo, the fontconfig version conflict was
apparently the cause of the crash at startup.

I don't know how libcairo and libpangocairo ended up in this state and I'm not
sure why things were working fine until I updated gtk2, but both cairo and
pango build against pkgsrc libfontconfig now.  I am in the process of
rebuilding the packages that depend on cairo and pango.  So far, the rebuilt
packages are working.

Mark