[Mono-list] mkbundle on CentOS can't find package mono

Robert Jordan robertj at gmx.net
Tue Nov 22 17:54:46 EST 2011


On 22.11.2011 18:42, Chris Derrick wrote:
> Not sure why, but this morning when I tried again I got a different result.
> The result of "pkg-config --cflags mono" is now:
>
> -D_REENTRANT -I/usr/lib/pkgconfig/../../include/mono-1.0
>
>
> When I try bundling I get this error during the compiling phase:

[...]

> error: glib.h: No such file or directory

This is caused by a bug in mono.pc of Mono 2.6.
Please edit mono.pc and comment in the line:

Requires: glib-2.0 gthread-2.0

Robert



More information about the Mono-list mailing list