[Mono-winforms-list] Re: Mono-winforms-list Digest, Vol 2, Issue 6

Peter Dennis Bartok peter at novonyx.com
Wed Jun 8 16:32:15 EDT 2005


Good suggestion. Alternatively, the line can be completely removed if the 
dev package is installed. Then it will simply try to load libX11.so.


-----Original Message-----
From: "David Cullen" <dcullen at intergate.com>
To: <mono-winforms-list at lists.ximian.com>
Date: 08 June, 2005 12:03
Subject: [Mono-winforms-list] Re: Mono-winforms-list Digest, Vol 2, Issue 6

>Dear Paul,
>mono-winforms-list-request at lists.ximian.com wrote:
>> Message: 2
>> Date: Wed, 08 Jun 2005 15:40:20 +0100
>> From: Paul Johnson <paul at all-the-johnsons.co.uk>
>> Subject: [Mono-winforms-list] An annoying problem
>> To: winforms <mono-winforms-list at lists.ximian.com>
>> Message-ID: <1118241620.5111.18.camel at localhost.localdomain>
>> Content-Type: text/plain
>> Hi,
>> Whenever I try to run a program compiled against MWF, I keep getting the
>> same error
>> Unhandled Exception: System.TypeInitializationException: An exception
>> was thrown by the initializer for System.Windows.Forms.XplatUI --->
>> System.DllNotFoundException: libX11.so.6.2
>> I know this has come up before and from what I remember when Miguel
>> flagged it up was that there was a problem within XplatUI.
>> Is there a work around or will XplatUI be getting fixed sometime in the
>> not too distant future?
>> Paul
>Look in your /prefix/etc/mono for config where "prefix" is your root
>prefix for you mono install.  There will be a file named config.  Change
>the line saying
>         <dllmap dll="libX11" target="libX11.so.6.2">
>         <dllmap dll="libX11" target="/usr/X11R6/lib/libX11.so.6.2">
>or wherever your actual libX11.so.6.2 is.
>Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com

More information about the Mono-winforms-list mailing list