[Mono-list] mono 2.6.1, Solaris, mkbundle error, System.DllNotFoundException: libMonoPosixHelper.so

yruss972 mono at yonahruss.com
Tue Jul 6 03:00:55 EDT 2010


I am trying to bundle the signcode utility on Solaris and this is what I
# /opt/mono/bin/mkbundle /opt/mono/lib/mono/1.0/signcode.exe -o signcode

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] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Mono.Unix.UnixMarshal.AllocHeap (Int64 size) [0x00000] in <filename
  at MakeBundle.DetectOS () [0x00000] in <filename unknown>:0 
  at MakeBundle.Main (System.String[] args) [0x00000] in <filename

I have the .so file:
# ls -l /opt/mono/lib/
total 47715
-rwxr-xr-x   1 root     bin       436944 Feb 17 15:37 libMonoPosixHelper.a
-rwxr-xr-x   1 root     bin         1256 Feb 17 15:37 libMonoPosixHelper.la
-rwxr-xr-x   1 root     bin       290452 Feb 17 15:37 libMonoPosixHelper.so

I've tried adding /opt/mono/lib to the LD_LIBRARY_PATH but receive the same

Any help is appreciated :)
View this message in context: http://mono.1490590.n4.nabble.com/mono-2-6-1-Solaris-mkbundle-error-System-DllNotFoundException-libMonoPosixHelper-so-tp2279124p2279124.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list