--- Begin Message ---



running ldconfig doesnt help.

when i run [ldconfig -p |grep libgdiplus]
it returns [libgdiplus.so.0 (libc6) => /usr/lib/libgdiplus.so.0]
and the file exists in the path its mapped to.

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

The one in the mono folder came with the mono linux installer, and the one in the user lib folder came with the libgdiplus yum package.


Mike Cleaver wrote:

I think we had the same problem getting libgdi to work on Centos, try running ldconfig.  Otherwise maybe check that the dll mapping for mono is setup correctly.

Cheers,
Mike

On 06/05/2008, at 5:42 AM, matt wrote:

Could anyone give me some pointers on how to troubleshoot the following error?

I checked and verified i have libgdiplus.so on my machine (theres actually 2 diffrent copies)
This is a console only CentOS server running mod-mono 1.9.1, pages that dont use graphical stuff work mint.

I looked at http://www.mono-project.com/DllNotFoundException but i dont know how to run a page in 'debug' mode to try to get more details on what the problem is.

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
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.9/1416 - Release Date: 5/5/2008 5:11 PM


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

Reply via email to