[Mono-list] Mono - mkbundle

Robert Jordan robertj at gmx.net
Thu Jul 21 04:58:20 EDT 2011

On 21.07.2011 02:42, TDain wrote:
> Hi,
> I'm having a similar problem, 2 questions:
> I've been using MonoDevelop in Ubuntu, without any problems.   Unfortunately
> I have to distribute to RHEL5, so have compiled mono from src, and have
> successfully compiled my app with gmcs.
> When trying to bundle with mkbundle, it complains as well that the
> libMonoPosixHelper.so is missing.  But I can't even get mkbundle to run,
> perhaps I've built it wrong?

No. You've probably installed Mono into a non-default
prefix. In this case you need to add $prefix/lib

"make install" is actually emitting a big freaking warning
about this situation... ;)

> Unhandled Exception: System.TypeInitializationException: An exception was
> thrown by the type initializer for Mono.Unix.Native.Stdlib --->
> System.DllNotFoundException: libMonoPosixHelper.so
> Also when I am using mdtool in ubuntu to build, I don't need to ship the
> libMonoPosixHelper.so as suggested is necessary here... what am I missing?

Mkbundle does not suggest to bundle libMonoPosixHelper.so.
It consumes it by itself.


More information about the Mono-list mailing list