[Mono-dev] System.DllNotFoundException: gdiplus.dll

matte at softfusion.net matte at softfusion.net
Tue May 6 07:06:19 EDT 2008


Was wondering if anyone could give me some pointers on how to  
troubleshoot this error.

I have mono 1.9.1, mod-mono 1.9.1 and libgdiplus (not sure which  
version) installed. Non graphical aspx pages run fine, but when i try  
to run one that uses image objects, ect on it i get the error below.

Running ldconfig didnt resolve it, and if i do [ldconfig -p |grep libgdiplus]
it returns [libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0]

i have the following copies of libgdiplus on my machine.
/opt/mono-1.9.1/lib/libgdiplus.so
/opt/mono-1.9.1/lib/libgdiplus.so.0
/opt/mono-1.9.1/lib/libgdiplus.so.0.0.0
/usr/lib/libgdiplus.so.0
/usr/lib/libgdiplus.so.0.0.0

i found some examples on how to debug a winforms app with this error,  
but no example on how to debug mod-mono with it.



Server Error in '/' Application
gdiplus.dll

Description: HTTP 500. Error processing request.

Stack Trace:

System.DllNotFoundException: gdiplus.dll
   at (wrapper managed-to-native)  
System.Drawing.GDIPlus:GdiplusStartup  
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
   at System.Drawing.GDIPlus..cctor () [0x00000]

Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Mono-devel-list mailing list