[Mono-list] Mono - mkbundle

TDain mcandrewb at hotmail.com
Wed Jul 20 20:42:38 EDT 2011

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?
[sroot at sibuild1 FIXConnector]$ mkbundle

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for Mono.Unix.Native.Stdlib --->
System.DllNotFoundException: libMonoPosixHelper.so
  at (wrapper managed-to-native) Mono.Unix.Native.Stdlib:GetDefaultSignal ()
  at Mono.Unix.Native.Stdlib..cctor () [0x00000]
  --- End of inner exception stack trace ---
  at Mono.Unix.UnixMarshal.AllocHeap (Int64 size) [0x00000]
  at MakeBundle.DetectOS () [0x00000]
  at MakeBundle.Main (System.String[] args) [0x00000]
[sroot at sibuild1 FIXConnector]$ ldd `which mkbundle`
        not a dynamic executable

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?

thanks in advance     

View this message in context: http://mono.1490590.n4.nabble.com/Mono-mkbundle-tp1495186p3682445.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list