[Mono-list] AW: WG: mkbundle

Miguel de Icaza miguel at ximian.com
Fri May 26 17:36:03 EDT 2006


Hello,

> We're trying to bundle our App with the mono-framework using mkbundle. 

You do not have the LD_LIBRARY_PATH variable pointing to the
installation directory with /lib.   I recommend that you do that.

Alternatively, use packages to install Mono into your system instead of
the installer.

> Our tries where 
> 1. linux:/home/gecosoft # /opt/mono-1.1.15/bin/mkbundle --static gecocomnet.exe -o gecocomnet
> 
> 2. linux:/home/gecosoft # /opt/mono-1.1.15/bin/mkbundle --static --deps gecocomnet.exe -o gecocomnet
> 
> 3. linux:/home/gecosoft # /opt/mono-1.1.15/bin/mkbundle --static -- deps -l /opt/mono-1.1.15/lib/libMonoPosixHelper.so gecocomnet.exe -o gecocomnet
> 
> All of this three are trowing these error:
> 
> Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Mono.Unix.Native.Stdlib ---> System.DllNotFoundException: libMonoPosixHelper.so
> in (wrapper managed-to-native) Mono.Unix.Native.Stdlib:GetDefaultSignal ()
> in <0x0000c> Mono.Unix.Native.Stdlib:.cctor ()--- End of inner exception stack trace ---
> 
> in <0x00000> <unknown method>
> in <0x00022> Mono.Unix.UnixMarshal:AllocHeap (Int64 size)
> in <0x00048> MakeBundle:DetectOS ()
> in <0x00073> MakeBundle:Main (System.String[] args)
> 
> Any ideas what to do? 
> 
> Thanks!
> 
> Regards,
> Stephan
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Dick Porter [mailto:dick at ximian.com]
> Gesendet: Freitag, 19. Mai 2006 09:58
> An: Schmuck
> Betreff: Re: WG: mkbundle
> 
> 
> On Fri, 2006-05-19 at 08:55 +0200, Schmuck wrote:
> > Hello Mr. Porter,
> > 
> > We've got a new Problem with mono here, see below.
> > 
> > We're allready tried several options for mkbundle, like --deps and -l, but the error remains the same.
> > Perhaps you'll have a idea how to handle this.
> 
> Unhandled Exception: System.TypeInitializationException: An exception was thrown
>  by the type initializer for Mono.Unix.Native.Stdlib ---> System.DllNotFoundExce
> ption: libMonoPosixHelper.so
> 
> means what it says, libMonoPosixHelper.so was not found.
> 
> Your best bet for getting help like this is to ask on the mailing list:
> mono-list at lists.ximian.com
> 
> - Dick
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
-- 
Miguel de Icaza <miguel at ximian.com>


More information about the Mono-list mailing list