pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43943: gtk2+ build fails to find installed devel/pango on NetBSD-5.1_RC4/i386



The following reply was made to PR pkg/43943; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/43943: gtk2+ build fails to find installed devel/pango on 
NetBSD-5.1_RC4/i386
Date: Tue, 05 Oct 2010 13:03:40 +0700

 This is the pixman problem.   See the thread "travails of the pixman upgrade"
 (or earlier "Is pango still broken?") on pkgsrc-users, and more recently,
 tech-pkg.
 
 The problem is (from your report) ...
 
   ....   -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
          -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib          ...
 
 where the -Wl,-R/usr/X11R7/lib comes before  -Wl,-R/usr/pkg/lib
 which results in finding the "old" pixman library in /usr/X11R7/lib
 rather than the newer one from pkgsrc in /usr/pkg/lib (the pixman
 library is a run-time dynamic dependency of pango or cairo or pangocairo
 (one or more of that set).
 
 There's no current solution known for this one - there are workarounds.
 You can just remove /usr/X11R7/lib/libpixman-1.so (leave the other
 variants with digits after the .so) or you can manually fix the config
 script to insert -Wl,-R/usr/pkg/lib ahead of the -Wl,-R/usr/X11R7/lib
 arg (but doing that is a partial workaround at best - the same problem
 will recur in other packages).
 
 kre
 


Home | Main Index | Thread Index | Old Index