Subject: Re: pango broken by conflicting fontconfig.pc
To: None <tech-pkg@netbsd.org>
From: Dave Huang <khym@azeotrope.org>
List: tech-pkg
Date: 02/23/2004 23:54:00
walt wrote:
> I found the reason pango is broken (for me at least). There are two
> versions of fontconfig.pc on my machine: one installed by the
> fontconfig package in /usr/pkg/lib/pkgconfig/ and the other one
> is installed by XFree in /usr/X11R6/lib/pkgconfig/
So pango's working for you now? I can't get it to compile, although in
my case, the error is:
ld: cannot find -lfreetype
I'm running XFree86 4.3.0 from March 5 2003 (one of the snapshots on
either releng.netbsd.org or ftp.netbsd.org); I do have fontconfig.pc
in both /usr/pkg/lib/pkgconfig and /usr/X11R6/lib/pkgconfig, but I do
not have freetype2.pc in the latter. /usr/pkg/lib/pkgconfig/freetype2.pc
is present, iff I have the pkgsrc freetype2 package installed. I've
tried building pango both with and without the freetype2 package, with
same results either way. I do have /usr/X11R6/lib/libfreetype.so.9.0.
The problem is that my work.i386/.buildlink/lib directory doesn't have
a symlink to libfreetype.so, but I don't know what's supposed to
create it, and why it's not being created.
My pkgsrc is current as of Feb 23, kernel and userland are from Feb 22.
--
Name: Dave Huang | Mammal, mammal / their names are called /
INet: khym@azeotrope.org | they raise a paw / the bat, the cat /
FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++