Hi,

The app compiles fine native (Mono 2.6.3, OS X Snow Leopard 10.6.3 x86_64),
but when I try to run it, I get the following error:

Unhandled Exception: Monobjc.ObjectiveCException: The 'libmonobjc.2.dylib'
library was not found. Please check that you have correctly installed it.
---> System.DllNotFoundException: monobjc.2
  at (wrapper managed-to-native)
Monobjc.Runtime.ObjectiveC20.NativeMethods:hook_thread_lifecycle ()
  at Monobjc.Runtime.ObjectiveC20.ObjectiveC20Bridge.HookThreadLifecycle ()
[0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at Monobjc.Runtime.ObjectiveC20.ObjectiveC20Bridge.HookThreadLifecycle ()
[0x00000] in <filename unknown>:0
  at Monobjc.Runtime.RuntimeBridge.get_Current () [0x00000] in <filename
unknown>:0
  at (wrapper synchronized) Monobjc.Runtime.RuntimeBridge:get_Current ()
  at Monobjc.ObjectiveCRuntime.DefineClass (System.Type type) [0x00000] in
<filename unknown>:0
  at Monobjc.ObjectiveCRuntime.ScanAssembly (System.Reflection.Assembly
assembly) [0x00000] in <filename unknown>:0

What do I need to do? All files are in place:
$ ls dist/AppName.app/Contents/MacOS/
AppName libglib-2.0.0.dylib libgthread-2.0.0.dylib libintl.8.0.2.dylib
libmono.0.dylib libmonobjc.1.dylib libmonobjc.2.dylib

Thanks!

Yvan

Reply via email to