Subject: Re: gimp2 on NetBSD 2.0?
To: None <>
From: Christoph Badura <>
List: tech-pkg
Date: 04/22/2005 11:45:27
On Fri, Apr 22, 2005 at 10:26:57AM +0200, Juan RP wrote:
> On Fri, 22 Apr 2005 09:46:56 +0200
> Christoph Badura <> wrote:
> > Does anyone have gimp2 working on a 2.0-ish system?

> > And, of course, it is right.  I have /usr/X11R6/lib/
> > from the fontconfig-1.0.2 of 2.0's xsrc and /usr/pkg/lib/
> > from pkgsrc's fontconfig-2.3.0 on the system.

> Are you sure you don't have defined PREFER_NATIVE+=fontconfig
> and USE_BUILTIN.fontconfig=no is defined in gimp/Makefile?

Yes, I don't have PREFER_NATIVE defined at all.

And rev. 1.115 of gimp/Makefile (which is the then current Makefile) has:

USE_BUILTIN.fontconfig=		    no
BUILDLINK_DEPENDS.fontconfig+=	    fontconfig>=2.2.0

However, ldd on gimp produces:

ldd /usr/pkg/bin/gimp | grep fontconfig
         -lfontconfig.1 => /usr/pkg/lib/
	 -lfontconfig.1 => /usr/X11R6/lib/

Temporarily moving out of the way in X11R6/lib makes
gimp start.

Maybe we can work around that by setting the library search path
to /usr/pkg/lib:/usr/X11R6/lib.