Bug 965504 - mono applications do not work, because /usr/lib64/libgdiplus.so cannot be found
Summary: mono applications do not work, because /usr/lib64/libgdiplus.so cannot be found
Status: RESOLVED DUPLICATE of bug 944754
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: 13.2
Hardware: x86-64 openSUSE 13.2
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Matthias Mailänder
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-06 23:05 UTC by Ulrich Windl
Modified: 2016-02-08 19:01 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2016-02-06 23:05:55 UTC
(This is probably another effect of bug 944754)
When trying to run a Mono application (like KeePass.exe), execution fails with this exception:
mono ./KeePass.exe

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: libgdiplus.so

"ldconfig -v | grep gdiplus" finds no "libgdiplus.so", but:
	libgdiplus.so.0 -> libgdiplus.so.0.0.0

# ll /usr/lib64/libgdiplus.so.0*
lrwxrwxrwx 1 root root     19  6. Feb 23:00 /usr/lib64/libgdiplus.so.0 -> libgdiplus.so.0.0.0
-rwxr-xr-x 1 root root 423960  6. Okt 2014  /usr/lib64/libgdiplus.so.0.0.0

After this command, mono works:
/usr/lib64 # ln -s libgdiplus.so.0 libgdiplus.so
Comment 1 Matthias Mailänder 2016-02-08 19:01:21 UTC
Indeed. The fix just hasn't been backported to 13.2 yet. You can either install the lastest mono-core from Mono:Factory or install libgdiplus-devel. I don't recommend symlinking yourself. This will only cause file conflicts for RPM.

*** This bug has been marked as a duplicate of bug 944754 ***