Problem with pkgconfig on Mac

James Mckenzie jjmckenzie51 at
Thu Feb 15 06:23:41 PST 2007

P. Tenny:

Might I suggest using Fink?  I don't think that DawinPorts is maintained any more (I may be incorrect, but it was not the last time I checked.)

I've had no problems with Fink other than the fact that the base products for GTK ad GTK+ were not creating .pc files (and they should not as they do not create the development libraries).

James McKenzie

-----Original Message-----
>From: "p.ten" <p.ten at>
>Sent: Feb 14, 2007 10:58 AM
>To: pkg-config at
>Subject: Problem with pkgconfig on Mac
>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:
> Sponsor:
> Videocorso di marketing: impara dagli esperti del settore come fare
>un marketing di successo per la tua attivita'
> Clicca qui:
>pkg-config mailing list
>pkg-config at

More information about the pkg-config mailing list