« Return to Thread: System.DllNotFoundException: gdiplus.dll - libgdiplus.so is Missing on CentOS 5.1 / WHM (cPanel)

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

by g18c :: Rate this Message:

Reply to Author | View in Thread

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

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

On checking mono-test-install it also fails:

root@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

 « Return to Thread: System.DllNotFoundException: gdiplus.dll - libgdiplus.so is Missing on CentOS 5.1 / WHM (cPanel)