[Mono-osx] pkg-config symlink in /usr/bin interfering with DarwinPorts?

Brion Vibber brion at pobox.com
Mon Jan 23 05:04:51 EST 2006


I noticed the other day that the Mono 1.1.13 framework installer makes a symlink
to its copy of pkg-config into /usr/bin.

Unfortunately this seems to interfere with other software such as DarwinPorts; I
had an awful time trying to get the gimp2 port compiled, which depends on a
newer version of glib than Mono ships with.

Mono's version:
Ludoviko:~ brion$ /usr/bin/pkg-config --modversion glib-2.0
2.6.3

DarwinPorts' version:
Ludoviko:~ brion$ /opt/local/bin/pkg-config --modversion glib-2.0
2.8.5

Even when setting PATH or PKG_CONFIG_PATH in my shell, configure scripts for ATK
and GTK found the older version and bailed; probably some subshell restored
default values.

Would it be better to keep the Mono-specific pkg-config command private in the
framework instead of linking it into /usr/bin? Since it's a generic library and
doesn't really belong to Mono, I can easily imagine other frameworks overwriting
it with their own private copies with their own private xyz/lib/pkgconfig
directories...

-- brion vibber (brion @ pobox.com)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20060123/251e3b76/signature.bin


More information about the Mono-osx mailing list