[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-winforms-list
Subject:    [Mono-winforms-list] Re: Mono-winforms-list Digest, Vol 2, Issue 6
From:       David Cullen <dcullen () intergate ! com>
Date:       2005-06-08 18:02:53
Message-ID: 42A732CD.9010709 () intergate ! com
[Download RAW message or body]

Dear Paul,

mono-winforms-list-request@lists.ximian.com wrote:
> Message: 2
> Date: Wed, 08 Jun 2005 15:40:20 +0100
> From: Paul Johnson <paul@all-the-johnsons.co.uk>
> Subject: [Mono-winforms-list] An annoying problem
> To: winforms <mono-winforms-list@lists.ximian.com>
> Message-ID: <1118241620.5111.18.camel@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?
> 
> TTFN
> 
> 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">

to

         <dllmap dll="libX11" target="/usr/X11R6/lib/libX11.so.6.2">

or wherever your actual libX11.so.6.2 is.

--
David
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic