Subject: Re: Choosing pkgsrc's version of freetype2 and friends over XFree's
To: Marc Recht <>
From: Thomas Klausner <>
List: tech-x11
Date: 01/29/2004 12:16:28
On Tue, Jan 27, 2004 at 02:58:09AM +0100, Marc Recht wrote:
> For some time now we have problems in pkgsrc with regard to libs that are 
> also part of XFree86, but in older versions. Some pkgs in pkgsrc are happy 
> with XFree's versions while others, like Xft2/pango, need newer ones. In 
> some cases this leads to libraries get linked to both, the pkgsrc and the 
> XFree version.
> For example:
> # ldd /usr/pkg/lib/|grep Xrender
> -lXrender.1 => /usr/X11R6/lib/
> -lXrender.1 => /usr/pkg/lib/
> and:
> # ldd /usr/pkg/qt3/lib/ | grep Xrender
> -lXrender.1 => /usr/pkg/lib/
> -lXrender.1 => /usr/X11R6/lib/
> I've made some patches (attached) to always select the pkgsrc versions to 
> fix those issues. I'm running with those patches for weeks now with any 
> problems.

Are any of the libraries in /usr/X11R6 linked against the ones
you want to override? That could make problems.

Otherwise I think it's a good idea, if it works :)