[Pkg-mono-devel] Windows.Forms on Debian

David Wright ichbin@shadlen.org
Fri, 09 Apr 2004 02:36:49 -0700


I got advice on the mono list to ask this question here:

I am using the Debian packages of Mono 0.31; the libwine package is also 
installed. mcs has no problem compiling a simple WinForms app that uses 
MessageBox.Show.

When I first ran the resulting .exe, it complained about not finding 
libuser32.dll.so and libwinnt.dll.so. I could fix the first problem by 
creating a simlink:
    /usr/lib/libuser32.dll.so -> /usr/lib/wine/user32.dll.so
But I cannot fix the second problem in this way, because there is no 
winnt.dll.so in libwine or any other Debian package. If I map 
libwindt.dll.so to some random .dll.so, mono complains about failing to 
load the function PROCESS_InitWine, so apparently it's looking for 
whatever DLL contains that function. Can anyone here help?