[Mono-bugs] [Bug 337367] mono-core-1.2.4-2.fc8 exhibits unimplemented method in System. Drawing on Fedora core 6

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 31 10:23:40 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=337367#c6





--- Comment #6 from Gergely Buday <gbuday at gmail.com>  2007-10-31 08:23:40 MST ---
There were two problems. First one is the setting of LD_LIBRARY_PATH, second,
in the svn source, I did not notice that I should have compiled libgdiplus
separately. After doing so




=== SVN version ===

[gergoe at 82-77-96-59 mono-svn]$ echo $LD_LIBRARY_PATH
/home/gergoe/pkg/mono-svn/lib
[gergoe at 82-77-96-59 mono-svn]$ ./bin/mono
/home/gergoe/pkg/FSharp-1.9.2.9/bin/fsi.exe

works as expected, no problem with libgdiplus





=== RPM version ===

I went back to the installed versions. The rpm-installed mono-core has no
libgdi:

[gergoe at 82-77-96-59 ~]$ rpm -ql mono-core|grep gdi
[gergoe at 82-77-96-59 ~]$ 

However it does have 

[gergoe at 82-77-96-59 ~]$ rpm -ql mono-core|grep System.Drawing
/usr/lib/mono/1.0/System.Drawing.dll
/usr/lib/mono/2.0/System.Drawing.dll
/usr/lib/mono/gac/System.Drawing
[...]

I was unable to tweak mono to load properly

$ LD_LIBRARY_PATH=/usr/lib/mono/2.0 mono ~/pkg/FSharp-1.9.2.9/bin/fsi.exe

did not work. Investigating it with 
MONO_LOG_LEVEL="debug" MONO_LOG_MASK="dll" mono
/home/gergoe/pkg/FSharp-1.9.2.9/bin/fsi.exe >log

I grepped through it and saw

Mono-INFO: DllImport error loading library 'gdiplus.dll: cannot open shared
obje
ct file: No such file or directory'.

And I had others:

Mono-INFO: DllImport error loading library: 'libkernel32.so: cannot open shared
object file: No such file or directory'.

Could this be a problem with the rpm? Is that, mono-core-1.2.4-2.fc8, is of a
former state of the mono project, having no libgdiplus?




=== Linux installer from the mono site ===

With the latest "Linux installer" version I was able to run fsi.exe smoothly:

export LD_LIBRARY_PATH=/usr/mono-1.2.5.1/lib
/mono /home/gergoe/pkg/FSharp-1.9.2.9/bin/fsi.exe

from /usr/mono-1.2.5.1/bin


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list