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

View: New views
4 Messages — Rating Filter:   Alert me  

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

by g18c :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

by g18c :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

g18c wrote:
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?
Sorry for the slightly premature post, i installed libgdiplus via 'yum install libgdiplus', i now have the following installed on my CentOS 5.1 box:

root@host [/usr/local/lib]# find / -name libgdiplus*
/var/cache/yum/dag/packages/libgdiplus-1.0.5-1.2.el4.rf.i386.rpm
/var/cache/yum/dag/headers/libgdiplus-1.0.5-1.2.el4.rf.i386.hdr
/usr/lib/libgdiplus.so.0.0.0
/usr/lib/libgdiplus.so.0
/usr/share/doc/libgdiplus-1.0.5

However when i run:

root@host [/usr/local/lib]# ldconfig -p |grep libgdiplus
        libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0

I can see the lib is linked, but i still get same 'System.DllNotFoundException: gdiplus.dll' exception.

Any pointers much appreciated.

Regards,

Chris

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

by Valentin Sawadski-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Mon, 2008-07-14 at 13:48 -0700, g18c wrote:

>
> g18c wrote:
> >
> > 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?
> >
>
> Sorry for the slightly premature post, i installed libgdiplus via 'yum
> install libgdiplus', i now have the following installed on my CentOS 5.1
> box:
>
> root@host [/usr/local/lib]# find / -name libgdiplus*
> /var/cache/yum/dag/packages/libgdiplus-1.0.5-1.2.el4.rf.i386.rpm
> /var/cache/yum/dag/headers/libgdiplus-1.0.5-1.2.el4.rf.i386.hdr
> /usr/lib/libgdiplus.so.0.0.0
> /usr/lib/libgdiplus.so.0
> /usr/share/doc/libgdiplus-1.0.5
>
> However when i run:
>
> root@host [/usr/local/lib]# ldconfig -p |grep libgdiplus
>         libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0
>
> I can see the lib is linked, but i still get same
> 'System.DllNotFoundException: gdiplus.dll' exception.
>
> Any pointers much appreciated.
Try looking at http://mono-project.com/DllNotFoundException and
especially http://mono-project.com/Config_DllMap

Hopefully this might help :-)

Kind Regards,
Valentin


_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

signature.asc (204 bytes) Download Attachment

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

by Miguel de Icaza-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

> 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:


You can run the tool: mono-test-install to check your installation.

Miguel

_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list