Wine + Mono + application = library not found?

Seth Shelnutt shelnutt2 at gmail.com
Thu Apr 30 18:36:55 CDT 2009


Hello all,

I'm trying to see if I can get a folding monitor,
http://code.google.com/p/hfm-net/ working in Wine. I've installed the latest
wine, 1.1.20, and the latest mono for windows 2.4. It seems however that
either mono or Wine, I think wine, is not seeing the library file from gtk.
However it is in my lib folder. Does anyone have any idea where wine is
looking for the lib to be at? This is on a Debian "testing" (Squeeze I
guess, but I keep my repos under the "testing" and no name, I use the wine
"sid" repo) install.


shelnutt at K-Server:~/Downloads/HFM Release 0.1.1.10$ wine HFM.exe

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Windows.Forms.MimeIconEngine --->
System.DllNotFoundException: libgdk-x11-2.0.so.0
  at (wrapper managed-to-native)
System.Windows.Forms.GnomeUtil:gdk_init_check (intptr,intptr)
  at System.Windows.Forms.GnomeUtil.Init () [0x00000]
  at System.Windows.Forms.GnomeUtil.GetIcon (System.String icon, Int32 size)
[0x00000]
  at System.Windows.Forms.GnomeHandler.AddGnomeIcon (System.String
internal_mime_type, System.String name) [0x00000]
  at System.Windows.Forms.GnomeHandler.CreateUIIcons () [0x00000]
  at System.Windows.Forms.GnomeHandler.Start () [0x00000]
  at System.Windows.Forms.MimeIconEngine..cctor () [0x00000]
  --- End of inner exception stack trace ---
  at System.Windows.Forms.WinFileSystem..ctor () [0x00000]
  at System.Windows.Forms.MWFVFS..ctor () [0x00000]
  at System.Windows.Forms.FileDialog..ctor () [0x00000]
  at System.Windows.Forms.OpenFileDialog..ctor () [0x00000]
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.OpenFileDialog:.ctor ()
  at HFM.Forms.frmMain.InitializeComponent () [0x00000]
  at HFM.Forms.frmMain..ctor () [0x00000]
  at (wrapper remoting-invoke-with-check) HFM.Forms.frmMain:.ctor ()
  at HFM.Program.Main (System.String[] argv) [0x00000]

shelnutt at K-Server:~/Downloads/HFM Release 0.1.1.10$ locate
libgdk-x11-2.0.so.0
/home/shelnutt/opt/gps/lib/libgdk-x11-2.0.so.0
/usr/lib/libgdk-x11-2.0.so.0
/usr/lib/libgdk-x11-2.0.so.0.1600.1


Thanks,

Seth Shelnutt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20090430/3d793d4c/attachment.htm>


More information about the wine-devel mailing list