Hello Guido, I get this message when I have not installed libgdiplus. Try installing libgdiplus and make sure there is a symbolic link /usr/lib/libgdiplus.so or in your parallel mono installation, eg. /opt/mono/lib/libgdiplus.so, pointing to libgdiplus.so.0
You also might want to have a look at this file: https://build.opensuse.org/package/view_file/home:tpokorra:mono/mono-libgdiplus/mono-libgdiplus-opt.spec?expand=1 All the best, Timotheus On 13 June 2013 18:15, elrengo <elreng...@yahoo.com.ar> wrote: > Hi! I would like to use kepass2 under Linux, I am using RHEL 6.4. I download > and then install the mono-2.10.9.tar.bz2. I do everithing I mono-project web > site: http://www.mono-project.com/Compiling_Mono_From_Tarball > > Then I download keepass2 and Install the xdotool. Then run $mono > keepass2.exe. The errors apears is: > > $ mono KeePass.exe > > Unhandled Exception: System.TypeInitializationException: An exception was > thrown by the type initializer for System.Windows.Forms.XplatUI ---> > System.TypeInitializationException: An exception was thrown by the type > initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: > gdiplus.dll > at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup > (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) > at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 > --- End of inner exception stack trace --- > at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in > <filename unknown>:0 > at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) > [0x00000] in <filename unknown>:0 > at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename > unknown>:0 > at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename > unknown>:0 > at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename > unknown>:0 > --- End of inner exception stack trace --- > at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in > <filename unknown>:0 > at KeePass.Program.Main (System.String[] args) [0x00000] in <filename > unknown>:0 > [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An > exception was thrown by the type initializer for > System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An > exception was thrown by the type initializer for System.Drawing.GDIPlus ---> > System.DllNotFoundException: gdiplus.dll > at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup > (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) > at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 > --- End of inner exception stack trace --- > at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000] in > <filename unknown>:0 > at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) > [0x00000] in <filename unknown>:0 > at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename > unknown>:0 > at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename > unknown>:0 > at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename > unknown>:0 > --- End of inner exception stack trace --- > at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in > <filename unknown>:0 > at KeePass.Program.Main (System.String[] args) [0x00000] in <filename > unknown>:0 > > You are the expert in mono, can you help me? > Thanks in advance. > > Guido. > > > > -- > View this message in context: > http://mono.1490590.n4.nabble.com/Keepass-with-mono-tp4659928.html > Sent from the Mono - WinForms mailing list archive at Nabble.com. > _______________________________________________ > Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-winforms-list _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list