Package glib-2.0 not found in pkg-config search path

Diogo Brito diogowbrito at
Mon Oct 1 08:25:07 PDT 2012

That was exactly it, got it solved.
Pretty simple, huh... Hope it didn't mess any other stuff, though.


2012/10/1 Brandon Allbery <allbery.b at>

> On Mon, Oct 1, 2012 at 4:49 AM, Diogo Brito <diogowbrito at> wrote:
>> In macports a member advised me to set the $PKG_CONFIG_PATH to "
>> /opt/local/lib/pkgconfig" but haven't been able to, even though I made a
>> little search for it...
> search for ... what?  That's not something to be searched for, it is
> something you type to your shell before compiling something.
>     export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
> Also beware, if you've installed some third party packages (notably Mono)
> you may have a "rogue" pkg-config in /usr/bin that will mess things up.
> --
> brandon s allbery                                      allbery.b at
> wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list