[Mono-winforms-list] Error running SWF app

Jonathan S. Chambers Jonathan.Chambers at ansys.com
Tue May 31 23:45:29 EDT 2005

     Sorry all, this is probably easy but I can't figure it out. I was running fine until I just updated from SVN (my source was maybe a week old). Now I get the following when I run a test app; obviously it can't find the X11 lib. SWF apps were working prior to my updating from SVN; did something change? I have libX11.so.6.2 in my /usr/X11R6/lib/ directory, and that path is in my /etc/ld.so.conf file (if that provides any info).

Mono System.Windows.Forms Assembly [Revision: 44278; built: 2005/4/10 23:33:54]
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.DllNotFoundException: libX11.so.6.2
in (wrapper managed-to-native) System.Windows.Forms.XplatUIX11:XInitThreads ()
in <0x0006f> System.Windows.Forms.XplatUIX11:.ctor ()
in <0x0003f> System.Windows.Forms.XplatUIX11:GetInstance ()
in <0x00061> System.Windows.Forms.XplatUI:.cctor ()--- End of inner exception stack trace ---
in <0x00000> <unknown method>
in <0x00049> System.Windows.Forms.Form:get_CreateParams ()
in <0x0022f> System.Windows.Forms.Control:.ctor ()
in <0x00011> System.Windows.Forms.ScrollableControl:.ctor ()
in <0x0000c> System.Windows.Forms.ContainerControl:.ctor ()
in <0x00010> System.Windows.Forms.Form:.ctor ()
in <0x00019> MWFTestApplication.MainWindow:.ctor ()
in (wrapper remoting-invoke-with-check) MWFTestApplication.MainWindow:.ctor ()
in <0x0001a> MWFTestApplication.MainWindow:Main (System.String[] args)

Thanks All,

More information about the Mono-winforms-list mailing list