Problem with pkgconfig on Mac

p.ten p.ten at
Wed Feb 14 09:58:19 PST 2007

I've installed pkg-config via DarwinPorts, in /opt/local/bin (version 0.21).
Then i set my profile file (in my home directory) with these parameters:


It seems to be correct, and I get it correctly running "env", BUT, when I
write in Terminal (bash):

pkg-config --modversion filename

it works only with file.pc stored in first path directory
(usr/local/lib/pkgconfig), and does NOT work with, for instance, fontconfig,
that stays in usr/X11R6/lib/pkgconfig.
To get it found by pkg config I have to put "usr/X11R6/lib/pkgconfig at the
first place.
Where did I wrong?

 --, the professional e-mail, gratis per te:
 Videocorso di marketing: impara dagli esperti del settore come fare
un marketing di successo per la tua attivita'
 Clicca qui:

More information about the pkg-config mailing list