[Mono-list] System.Drawing.GDIPlus is it a common problem?

David Broome dbroome at finearts.uvic.ca
Thu Jun 2 17:44:16 EDT 2005


Peter,

Thanks for the clue... it is always the little things.

ldd /usr/local/lib/libgdiplus.so.0 showed " libtiff.so.3 => not found".

I had libtiff4 installed but I refered to the debian site to check which package
 was needed and it showed "libtiff3g" after it was installed all is fine.

Dave,

Quoting Peter Dennis Bartok <peter at novonyx.com>:

> Make sure that ldd /usr/local/lib/libgdiplus.so.0 doesn't give you any
> unresolved dependencies.
>
> When try running the app after setting the following env vars:
> export MONO_LOG_LEVEL=debug
> export MONO_LOG_MASK=dll
>
>
> Then check the output. It should tell you why it claims it can't find it.
>
> Cheers,
>   Peter
>
> -----Original Message-----
> From: "David Broome" <dbroome at finearts.uvic.ca>
> To: "Peter Dennis Bartok" <peter at novonyx.com>
> Cc: <mono-list at lists.ximian.com>
> Date: 02 June, 2005 13:21
> Subject: Re: [Mono-list] System.Drawing.GDIPlus is it a common problem?
>
>
> >Quoting Peter Dennis Bartok <peter at novonyx.com>:
> >
> >> Did you run 'ldconfig' since installing, just to be safe?
> >
> >Yes, and thanks for the reply, and it is listed when I do a 'ldconfig -p'
> >
> >        libgdiplus.so.0 (libc6) => /usr/local/lib/libgdiplus.so.0
> >        libgdiplus.so (libc6) => /usr/local/lib/libgdiplus.so
> >
> >and (odviously) my /etc/ld.so.conf includes /usr/local/lib
> >
> >but I still get this:
> >
> >System.TypeInitializationException: An exception was thrown by the type
> >initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
> >/usr/local/lib/libgdiplus.so
> >in (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
>
>(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
> >in <0x000bb> System.Drawing.GDIPlus:.cctor ()--- End of inner exception
> >stack
> >trace ---
> >
> >
> >
> >Quoting Peter Dennis Bartok <peter at novonyx.com>:
> >
> >> Did you run 'ldconfig' since installing, just to be safe?
> >>
> >> Peter
> >>
> >> -----Original Message-----
> >> From: "David Broome" <dbroome at finearts.uvic.ca>
> >> To: <mono-list at lists.ximian.com>
> >> Date: 02 June, 2005 11:47
> >> Subject: [Mono-list] System.Drawing.GDIPlus is it a common problem?
> >
> >
> >--
> >David Broome   Programmer_Analyst.FineArts.UVic.CA  /BSc /CNA /MCP
> >250.721-6307   dbroome at finearts.uvic.ca                FIA 221
> >
> >
>
>


--
David Broome   Programmer_Analyst.FineArts.UVic.CA  /BSc /CNA /MCP
250.721-6307   dbroome at finearts.uvic.ca                FIA 221


More information about the Mono-list mailing list