[Mono-osx] Windows.Forms apps: winelib.exe.so missing?

Oscar Papel oscar at papel.ca
Sun May 15 12:42:41 EDT 2005


I'm guessing that you have a very old version of mono located in your 
/usr/bin or /usr/local/bin subdirectories.  Also, if you have used a tool 
like fink or darwinports in the past, check your /opt/bin or /sw/bin 
subdirectories.  The Mono installer post-install script should have made 
symlinks in your /usr/bin sub that point to 
/Library/Frameworks/Mono.framework.  It may have failed, though, if you 
already had mono installed "manually" with another tool.

Regardless, check your PATH to see what directories are being searched and 
verify that there are no old copies of mono in any of them.

Oscar

----- Original Message ----- 
From: "Corryn" <corryn at spymac.com>
To: <mono-osx at lists.ximian.com>
Sent: Sunday, May 15, 2005 12:14 PM
Subject: [Mono-osx] Windows.Forms apps: winelib.exe.so missing?


> Hello,
>
> I have a strange problem when running applications that use MWF.
>
> A few month ago (version 1.1.4 iirc), it worked correctly with some
> graphical glitches. But since 1.1.5 I keep getting this error:
>
> =================
>
> ~/Documents/Csharp/SimpleWindow$ mono SimpleWindow.exe
> Could not load winelib.exe.so
> Unhandled Exception: System.TypeInitializationException: An exception
> was thrown by the type initializer for System.Windows.Forms.Control --->
> System.TypeInitializationException: An exception was thrown by the type
> initializer for System.Windows.Forms.Win32 --->
> System.DllNotFoundException: winelib.exe.so
> in <0x000d8> (wrapper managed-to-native)
> System.Windows.Forms.Win32:WineLoadLibrary (string)
> in <0x00434> System.Windows.Forms.Win32:.cctor ()
>
> =================
>
> I really don't know, why mono is asking for winelib? My operating system
> is OS X 10.3.9 and I have the latest Mono version 1.1.7, XDarwin and the
> X11 SDK from Apple installed.
>
> Also strange is: when I do a "mono --version", the following is displayed:
>
> =================
>
> ~/Documents/Csharp/SimpleWindow$ mono --version
> Mono JIT compiler version 1.0.2, (C) 2002-2004 Novell, Inc and
> Contributors. www.go-mono.com
>         TLS:           normal
>         GC:            Included Boehm (with typed GC)
>         SIGSEGV      : normal
>         Globalization: ICU
>
> =================
>
> Why does it say 1.0.2? I only have 1.1.7 installed ...
>
> =================
>
> /Library/Frameworks/Mono.framework/Versions$ ls -al
> total 8
> drwxr-xr-x   4 root  wheel  136 10 May 19:18 .
> drwxr-xr-x   8 root  wheel  272 13 May 22:26 ..
> drwxr-xr-x  10 root  wheel  340 10 May 19:18 1.1.7
> lrwxr-xr-x   1 root  wheel    5 13 May 22:26 Current -> 1.1.7
>
> =================
>
> I really hope that someone knows what went wrong ...
>
> Greetings,
> Corryn
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx 




More information about the Mono-osx mailing list