We&#39;re using the drawing bridge to do libgdiplus drawing in custom Cocoa views (which is *wonderful*), and everything works great when run from MonoDevelop. But when trying to run the app bundle outside of MonoDevelop we always get some variation of the problem below when we call NSApplication.InitDrawingBridge() (it looks like libgdiplus wants to find a function called uname in libc, but Mono can&#39;t find libc.dylib):<div>
<br></div><div><div>Mono: DllImport loading: &#39;/Library/Frameworks/Mono.framework/Versions/2.10/lib/libgdiplus.dylib&#39;.</div><div>Mono: Searching for &#39;GdiplusStartup&#39;.</div><div>Mono: Probing &#39;GdiplusStartup&#39;.</div>
<div>Mono: Found as &#39;GdiplusStartup&#39;.</div><div>Mono: DllImport attempting to load: &#39;libc.dylib&#39;.</div><div>Mono: DllImport loading library: &#39;/Library/Frameworks/Mono.framework/Versions/2.10/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/libc.dylib&#39;.</div>
<div>Mono: DllImport error loading library &#39;dlopen(/Library/Frameworks/Mono.framework/Versions/2.10/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/libc.dylib, 9): image not found&#39;.</div><div>Mono: DllImport loading library: &#39;/Library/Frameworks/Mono.framework/Versions/2.10/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/libc.dylib&#39;.</div>
<div>Mono: DllImport error loading library &#39;dlopen(/Library/Frameworks/Mono.framework/Versions/2.10/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/libc.dylib, 9): image not found&#39;.</div><div>Mono: DllImport loading library: &#39;/Library/Frameworks/Mono.framework/Versions/2.10/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/<a href="http://libc.dylib.so">libc.dylib.so</a>&#39;.</div>
<div>Mono: DllImport error loading library &#39;dlopen(/Library/Frameworks/Mono.framework/VersiSystem.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.G</div><div>DIPlus ---&gt; System.DllNotFoundException: libc.dylib</div>
<div>  at (wrapper managed-to-native) System.Drawing.GDIPlus:uname (intptr)</div><div>  at System.Drawing.GDIPlus..cctor () [0x00000] in &lt;filename unknown&gt;:0</div><div>  --- End of inner exception stack trace ---</div>
<div>at (wrapper managed-to-native) System.Reflection.MonoField.SetValueInternal (System.Reflection.FieldInfo,object,object) &lt;0x00003&gt;</div><div>at System.Reflection.MonoField.SetValue (object,object,System.Reflection.BindingFlags,System.Reflection.Binder,System.Globalization.CultureInfo) &lt;0x000d3&gt;</div>
<div>at System.Reflection.FieldInfo.SetValue (object,object) &lt;0x00022&gt;</div><div>at MonoMac.AppKit.NSApplication.InitDrawingBridge () &lt;0x00087&gt;</div><div>at SteamPunkMacHost.AnnotationView.DrawRect (System.Drawing.RectangleF) &lt;0x0001f&gt;</div>
<div>at (wrapper dynamic-method) object.[SteamPunkMacHost.AnnotationView.Void DrawRect(RectangleF)] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,System.Drawing.RectangleF) &lt;0x0004e&gt;</div><div>at (wrapper native-to-managed) object.[SteamPunkMacHost.AnnotationView.Void DrawRect(RectangleF)] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,System.Drawing.RectangleF) &lt;0x000c9&gt; </div>
<div>at (wrapper managed-to-native) MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (intptr,intptr) &lt;0x00003&gt;</div><div>at MonoMac.AppKit.NSWindowController.get_Window () &lt;0x00081&gt;</div><div>at SteamPunkMacHost.MainWindowController.get_Window () &lt;0x00015&gt;</div>
<div>at SteamPunkMacHost.AppDelegate.FinishedLaunching (MonoMac.Foundation.NSObject) &lt;0x00047&gt;</div></div><div><br></div><div>Any ideas?</div>