AW: [Mono-list] mono1.0.4 & nGallery
Thomas Zöchling
thomas.zoechling@gmx.at
Wed, 17 Nov 2004 22:57:16 +0100
Thx for your reply.
I am using gentoo and have already reported a bug to the libgdiplus
maintainer. I suppose the error is somewhere in the ebuild of libgdiplus.
I first encountered the error on a aspx page, but I don’t know how to enable
detailed debug messages for mod_mono (is that possible?) and so I wrote
(acutaly I stole some code from http://www.vlad1.com/~vladimir/) a small
console app that uses system.drawing.
I also tried the things you did ( /etc/mono/config ,cairo, ....)
But currently I am getting the following output with MONO_LOG_LEVEL="debug"
Mono-INFO: Assembly Loader probing location: '/usr/lib/mscorlib.dll'.
Mono-INFO: Assembly Loader loaded assembly from location:
'/usr/lib/mscorlib.dll'.
Mono-INFO: Config attempting to parse: '/usr/lib/mscorlib.dll.config'.
Mono-INFO: Config attempting to parse:
'/etc/mono/assemblies/mscorlib/mscorlib.config'.
Mono-INFO: Config attempting to parse:
'/root/.mono/assemblies/mscorlib/mscorlib.config'.
Mono-INFO: Config attempting to parse: '/etc/mono/config'.
Mono-INFO: Config attempting to parse: '/root/.mono/config'.
Mono-INFO: Assembly Loader probing location: 'bmTest.exe'.
Mono-INFO: Assembly Loader probing location:
'/usr/lib/mono/gac/System.Drawing/1.0.5000.0__b03f5f7f11d50a3a/System.Drawin
g.dll'.
Mono-INFO: Assembly Loader probing location:
'/usr/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll'.
Mono-INFO: Assembly Loader probing location:
'/usr/lib/mono/gac/System.Xml/1.0.5000.0__b77a5c561934e089/System.Xml.dll'.
Mono-INFO: Assembly Loader loaded assembly from location:
'/usr/lib/mono/gac/System.Xml/1.0.5000.0__b77a5c561934e089/System.Xml.dll'.
Mono-INFO: Config attempting to parse:
'/usr/lib/mono/gac/System.Xml/1.0.5000.0__b77a5c561934e089/System.Xml.dll.co
nfig'.
Mono-INFO: Config attempting to parse:
'/etc/mono/assemblies/System.Xml/System.Xml.config'.
Mono-INFO: Config attempting to parse:
'/root/.mono/assemblies/System.Xml/System.Xml.config'.
Mono-INFO: Assembly Loader loaded assembly from location:
'/usr/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll'.
Mono-INFO: Config attempting to parse:
'/usr/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll.config'.
Mono-INFO: Config attempting to parse:
'/etc/mono/assemblies/System/System.config'.
Mono-INFO: Config attempting to parse:
'/root/.mono/assemblies/System/System.config'.
Mono-INFO: Assembly Loader loaded assembly from location:
'/usr/lib/mono/gac/System.Drawing/1.0.5000.0__b03f5f7f11d50a3a/System.Drawin
g.dll'.
Mono-INFO: Config attempting to parse:
'/usr/lib/mono/gac/System.Drawing/1.0.5000.0__b03f5f7f11d50a3a/System.Drawin
g.dll.config'.
Mono-INFO: Config attempting to parse:
'/etc/mono/assemblies/System.Drawing/System.Drawing.config'.
Mono-INFO: Config attempting to parse:
'/root/.mono/assemblies/System.Drawing/System.Drawing.config'.
Mono-INFO: Assembly Loader loaded assembly from location: 'bmTest.exe'.
Mono-INFO: Config attempting to parse: '/root/bmTest.exe.config'.
Mono-INFO: Config attempting to parse:
'/etc/mono/assemblies/bmTest/bmTest.config'.
Mono-INFO: Config attempting to parse:
'/root/.mono/assemblies/bmTest/bmTest.config'.
Mono-INFO: Assembly Loader probing location: 'bmTest.exe'.
Mono-INFO: Assembly Loader loaded assembly from location: 'bmTest.exe'.
Mono-INFO: Config attempting to parse: '/root/bmTest.exe.config'.
Mono-INFO: Config attempting to parse:
'/etc/mono/assemblies/bmTest/bmTest.config'.
Mono-INFO: Config attempting to parse:
'/root/.mono/assemblies/bmTest/bmTest.config'.
Mono-INFO: DllImport attempting to load: '/usr/lib/libgdiplus.so'.
Mono-INFO: DllImport loading location: 'lib/usr/lib/libgdiplus.so.so'.
Mono-INFO: DllImport error loading library: 'lib/usr/lib/libgdiplus.so.so:
cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './lib/usr/lib/libgdiplus.so.so'.
Mono-INFO: DllImport error loading library './lib/usr/lib/libgdiplus.so.so:
cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading: '/usr/lib/libgdiplus.so'.
Mono-INFO: DllImport error loading library '/usr/lib/libgdiplus.so:
undefined symbol: XML_GetCurrentLineNumber'.
(bmTest.exe:15430): Mono-WARNING **: DllImport unable to load library
'/usr/lib/libgdiplus.so: undefined symbol: XML_GetCurrentLineNumber'.
Mono-INFO: DllImport attempting to load: '/usr/lib/libgdiplus.so'.
Mono-INFO: DllImport loading location: 'lib/usr/lib/libgdiplus.so.so'.
Mono-INFO: DllImport error loading library: 'lib/usr/lib/libgdiplus.so.so:
cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './lib/usr/lib/libgdiplus.so.so'.
Mono-INFO: DllImport error loading library './lib/usr/lib/libgdiplus.so.so:
cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading: '/usr/lib/libgdiplus.so'.
Mono-INFO: DllImport error loading library '/usr/lib/libgdiplus.so:
undefined symbol: XML_GetCurrentLineNumber'.
(bmTest.exe:15430): Mono-WARNING **: DllImport unable to load library
'/usr/lib/libgdiplus.so: undefined symbol: XML_GetCurrentLineNumber'.
Mono-INFO: DllImport attempting to load: '/usr/lib/libgdiplus.so'.
Mono-INFO: DllImport loading location: 'lib/usr/lib/libgdiplus.so.so'.
Mono-INFO: DllImport error loading library: 'lib/usr/lib/libgdiplus.so.so:
cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './lib/usr/lib/libgdiplus.so.so'.
Mono-INFO: DllImport error loading library './lib/usr/lib/libgdiplus.so.so:
cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading: '/usr/lib/libgdiplus.so'.
Mono-INFO: DllImport error loading library '/usr/lib/libgdiplus.so:
undefined symbol: XML_GetCurrentLineNumber'.
(bmTest.exe:15430): Mono-WARNING **: DllImport unable to load library
'/usr/lib/libgdiplus.so: undefined symbol: XML_GetCurrentLineNumber'.
Mono-INFO: DllImport attempting to load: '/usr/lib/libgdiplus.so'.
Mono-INFO: DllImport loading location: 'lib/usr/lib/libgdiplus.so.so'.
Mono-INFO: DllImport error loading library: 'lib/usr/lib/libgdiplus.so.so:
cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './lib/usr/lib/libgdiplus.so.so'.
Mono-INFO: DllImport error loading library './lib/usr/lib/libgdiplus.so.so:
cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading: '/usr/lib/libgdiplus.so'.
Mono-INFO: DllImport error loading library '/usr/lib/libgdiplus.so:
undefined symbol: XML_GetCurrentLineNumber'.
(bmTest.exe:15430): Mono-WARNING **: DllImport unable to load library
'/usr/lib/libgdiplus.so: undefined symbol: XML_GetCurrentLineNumber'.
Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Drawing.GDIPlus --->
System.DllNotFoundException: gdiplus.dll
in <0x00053> (wrapper managed-to-native)
System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOut
put&)
in <0x00068> System.Drawing.GDIPlus:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) System.Drawing.Bitmap:.ctor
(int,int,System.Drawing.Imaging.PixelFormat)
in <0x00059> System.Drawing.Bitmap:.ctor
(int,int,System.Drawing.Imaging.PixelFormat)
in <0x00015> System.Drawing.Bitmap:.ctor (int,int)
in <0x00061> (wrapper remoting-invoke-with-check)
System.Drawing.Bitmap:.ctor (int,int)
in <0x00077> ContactSheetGenerator:Main (string[])
-----Ursprüngliche Nachricht-----
Von: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] Im Auftrag von Simon J
Gesendet: Mittwoch, 17. November 2004 09:07
An: mono-list@lists.ximian.com
Betreff: [Mono-list] mono1.0.4 & nGallery
There was a posting on here a week or so ago about mono1.0.4 and nGallery
not working. It was complaining about gdiplus.dll not being found
I have fixed that issue with the following on FC2.
Added
<dllmap dll="gdiplus.dll" target="libgdiplus.so"/>
To
/etc/mono/config
I then did
Rpm -qa | grep libgd
To see if the libgdiplus rpm was installed.
It wasn't so I used yum to install libgdiplus 1.0.4-1.ximian.8.1.i386
Yum -C install libgdiplus (you might not need to -C)
It then resolved 2 dependencies so I installed them aswell
Libpixman 0.1.2-1.ximian.8.1.i386 &
Cairo 0.2.0-1.ximian.8.1.i386
It now seems to be running fine.
Simon
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list