Dear Paul,

[EMAIL PROTECTED] wrote:
Message: 2
Date: Wed, 08 Jun 2005 15:40:20 +0100
From: Paul Johnson <[EMAIL PROTECTED]>
Subject: [Mono-winforms-list] An annoying problem
To: winforms <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
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  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Reply via email to