When I tried to on an windows.forms app: mono appname.exe I get this results 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 <0x003f4> 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 <0x00011> System.Windows.Forms.ScrollableControl:.ctor () in <0x00012> System.Windows.Forms.ContainerControl:.ctor () in <0x00016> System.Windows.Forms.Form:.ctor () in <0x00017> WindowsApplication2.Form1:.ctor () in <0x0004f> (wrapper remoting-invoke-with-check) WindowsApplication2.Form1:.ctor () in <0x0001b> WindowsApplication2.Form1:Main () After that I did a locate on winelib.exe.so and there was no such file at all on my system Reproducible: Always Steps to Reproduce: 1. emerge mono-wine 2. get a windows.forms app 3. mono appname Actual Results: see details Expected Results: run Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6) ================================================================= System uname: 2.6.6 i686 AMD Athlon(TM) XP 1700+ Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo " MAKEOPTS=" -j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apm avi berkdb bluetooth bonobo cdr crypt cups dvd encode evo foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib ipv6 java joystick jpeg ldap libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mysql ncurses nls nowin nptl oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml xml2 xmms xv xvid zlib"
Afaik, the mono-wine stuff is old and deprecated, and should not be used. The current method is to use wine+winelib. I've not had time to get winelib into portage, as i didn't have room on my dev box for wine to compile last i tried. I will attempted to get that done sometime this week. Will check with todd, and then remove mono-wine as this is a *very* outdated package.
Okay, tonight i've added the winelib package to portage, and removed the old outdated mono-wine. Marking FIXED. If you have issues with the new winelib, please open a new seperate bug.