Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51714 - Mono fails to startup native libraries that are referenced
Summary: Mono fails to startup native libraries that are referenced
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-21 19:48 UTC by Greg Bowyer
Modified: 2004-05-27 09:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Bowyer 2004-05-21 19:48:15 UTC
Mono refuses to find and startup libs that are native and that programs rely on thus the program 

test.cs

class test
{
    static void Main()
    {
        System.Windows.Forms.MessageBox.Show("TEST");
    }
}

properly compiled, started as mono ./test.exe produces

greg@gregslaptop rmi $ mono ./test.exe
Could not load winelib.exe.so
Unhandled Exception: 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 <0x00314> System.Windows.Forms.Win32:.cctor ()
--- End of inner exception stack trace ---
 
in (unmanaged) System.Windows.Forms.Win32:MessageBoxA (intptr,string,string,uint)
in <0x00026> System.Windows.Forms.MessageBox:Show (string)
in <0x0000f> test:Main ()

Now the real keeper is that this lib is in /usr/lib as winelib.exe.so




Reproducible: Always
Steps to Reproduce:
Comment 1 foser (RETIRED) gentoo-dev 2004-05-25 02:01:25 UTC
I don't think we support winelib at this point.
Comment 2 Greg Bowyer 2004-05-27 09:38:46 UTC
Even with the lack of support I think that winelib will prove important as many developers will see this as an essential peice of the .net puzzle and will require windows Forms (me I am trying GTK~ right now)

also mono-wine is provided which appears to give many of the same benefits, as soon as i am near a working computer I am going to try getting winelib and Windows forms working and into portage