You are not logged in.

#1 2019-04-02 11:49:11

Francis
Member
Registered: 2019-04-02
Posts: 2

[solved] keepass throws mono error libgdiplus.so.0

so after upgrading today I keep getting an error when starting keepass

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0

this is strange since I have that library installed and my system can find it:

➜  ~ ldd /usr/lib/libgdiplus.so.0           
        linux-vdso.so.1 (0x00007ffc8daac000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f7497d17000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f7497bf0000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f7497b21000)
        libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007f7497a8c000)
        libtiff.so.5 => /usr/lib/libtiff.so.5 (0x00007f7497a01000)
        libgif.so.7 => /usr/lib/libgif.so.7 (0x00007f74979f6000)
        libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f74979bc000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f74977a5000)
        libexif.so.12 => /usr/lib/libexif.so.12 (0x00007f7497560000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f749753f000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f74974f8000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007f7497334000)
        libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f74972bf000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f7497215000)
        libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f7497210000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f74971e6000)
        libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f74971d6000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f74971c9000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f7497088000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f7497073000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007f7497069000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007f7496ee4000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f7496ed1000)
        libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f7496dd5000)
        libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f7496d33000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f7496b0d000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00007f7497ec9000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f7496ad1000)
        libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f7496ac8000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f7496ac3000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f7496ab9000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f7496ab4000)
        libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f7496a8f000)
➜  ~ ldconfig -p |grep libgdiplus           
        libgdiplus.so.0 (libc6,x86-64) => /usr/lib/libgdiplus.so.0
        libgdiplus.so (libc6,x86-64) => /usr/lib/libgdiplus.so

I already tried reinstalling keepass and mono and rebooting. Im kinda at a loss here, anybody got ideas?

Last edited by Francis (2019-04-02 12:25:33)

Offline

#2 2019-04-02 12:20:25

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 8,765
Website

Re: [solved] keepass throws mono error libgdiplus.so.0

Seems to be a known bug: https://bugs.archlinux.org/task/62211

Update your system again, and make sure you have giflib-5.1.9-2 installed.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2019-04-02 12:25:15

Francis
Member
Registered: 2019-04-02
Posts: 2

Re: [solved] keepass throws mono error libgdiplus.so.0

WorMzy wrote:

Seems to be a known bug: https://bugs.archlinux.org/task/62211

Update your system again, and make sure you have giflib-5.1.9-2 installed.

ah I missed that bug. thank you!

Offline

Board footer

Powered by FluxBB