[Mono-list] System.DllNotFoundException: gdiplus.dll - libgdiplus.so is Missing on CentOS 5.1 / WHM (cPanel)

g18c g18c at hotmail.com
Mon Jul 14 16:30:40 EDT 2008


Hi, I installed mono via Apache Update (Easy::Apache) in WHM (cPanel) which
downloaded mod_mono 1.9, i then enabled ASP 2.0 for Mono as per: 
http://forums.cpanel.net/showthread.php?t=76453&page=2&highlight=mono
http://forums.cpanel.net/showthread.php?t=76453&page=2&highlight=mono 

I then upload a simple ASP.net 2.0 application which fails to run, throwing
a System.DllNotFoundException: gdiplus.dll exception:

Server Error in '/test' 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]  

I have checked on this link but unfrotunatly I cant even find libgdiplus.so
anywhere on my system, /usr/local/lib/, or otherwise.

http://www.mono-project.com/DllNotFoundException
http://www.mono-project.com/DllNotFoundException 

On checking mono-test-install it also fails:

root at host [~]# /home/cpeasyapache/src/mono-1.9.1/scripts/mono-test-install
Active Mono:
Warning: pkg-config could not find mono installed on this system
No dotnet pkgconfig found, Windows.Forms, System.Drawing and others will not
work

I'm not supprised its failing given the above file is missing, but my
question relates to resolving this in a WHM installed environment. Am i
better to remove mono in Easy::Apache and install this manually via 'yum',
or are there other options for getting libgdiplus.so onto my system?

Many thanks in advance,

Chris
-- 
View this message in context: http://www.nabble.com/System.DllNotFoundException%3A-gdiplus.dll---libgdiplus.so-is-Missing-on-CentOS-5.1---WHM-%28cPanel%29-tp18452303p18452303.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list