Looks like Ximian forgot to package the winelib rpm. I had to build that file from winelib.tar.gz from the download page. But even after that I could not get the thing to load. It camplained about not able to load winelib.exe.so. Even when I put this in the correct PATH and even when I set LD_LIBRARY_PATH to it. After playing a little more I got it somehow to find the winelib.exe.so. But now it complains about user32.dll (no so there!) I hope to find a rpm for all this :-P wkr, Gerke
The output:
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 <0x00053> (wrapper managed-to-native) System.Windows.Forms.Win32:WineLoadLibrary (string) in <0x002e1> System.Windows.Forms.Win32:.cctor () --- End of inner exception stack trace ---
in (unmanaged) System.Windows.Forms.Win32:RegisterWindowMessage (string) in <0x000f2> System.Windows.Forms.Control:.cctor () --- End of inner exception stack trace ---
in (unmanaged) System.Windows.Forms.Control:.ctor () in <0x0000f> System.Windows.Forms.ScrollableControl:.ctor () in <0x0000a> System.Windows.Forms.ContainerControl:.ctor () in <0x00017> System.Windows.Forms.Form:.ctor () in <0x0000a> MyFormProject.MainForm:.ctor () in <0x0004f> (wrapper remoting-invoke-with-check) MyFormProject.MainForm:.ctor () in <0x0001b> MyFormProject.MainForm:Main (string[])
Kevin Jones wrote:
I decided to start from a known good installation and now I'm getting an even dumber error. I un-installed everything (mono, libicu etc and the devel versions). I downloaded the latest RPMs from go-mono re-installed them and mono-wine. Now when I run the winform app (it's one of the test apps from the Wiki) I get this:
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 <0x00053> (wrapper managed-to-native) System.Windows.Forms.Win32:WineLoadLibrary (string) in <0x002e1> System.Windows.Forms.Win32:.cctor () --- End of inner exception stack trace ---
The only reference I can find is this
http://lists.ximian.com/archives/public/mono-patches/2004-March/032174.html
and indeed winelib.exe.so is not in /usr/lib/wine (or anywhere else).
What have I done wrong?
Thanks,
Kevin Jones
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list