[Mono-winforms-list] System.DllNotFoundException: gdiplus.dll

Bill Medland billmedland@mercuryspeed.com
Wed, 16 Feb 2005 15:05:33 -0800


Thanks all

On February 16, 2005 02:34 pm, Brian Pickles wrote:
> > Can anyone tell me what I haven't I done yet.

> > I got the following error:
> >

> > 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
>
> Hi,
>
> You also need to set your $LD_LIBRARY_PATH to include the directory
> where libgdiplus.so is installed.

I suppose running ldconfig would have fixed it as well (if the location is in 
/etc/ld.so.conf).   Duh!!!

>
> This is documented in the [Mono-winforms-list]archives but not in any of
> the installation guides.  Paul - Can you please add it to your install
> notes / guide.
>

While you are at it, Paul.  Couple of edits:
1. There is a cd missing from the instructions  (cd ../mono)
2. make monolite-bootstrap no longer exists either; simply use make

> Brian

-- 
Bill Medland
mailto:billmedland@mercuryspeed.com
http://webhome.idirect.com/~kbmed