You are not logged in.

#1 2013-05-06 14:56:00

Lekensteyn
Member
From: Netherlands
Registered: 2012-06-19
Posts: 192
Website

libpixbufloader-svg.so: libpng15.so.15: cannot open shared object file

While updating, I got:

[2013-05-05 19:31] [PACMAN] upgraded cups-filters (1.0.34-2 -> 1.0.34-3)
[2013-05-05 19:31] [ALPM-SCRIPTLET] gtk-update-icon-cache: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
[2013-05-05 19:31] [PACMAN] upgraded dia (0.97.2-4 -> 0.97.2-5)
[2013-05-05 19:32] [ALPM-SCRIPTLET] gtk-update-icon-cache: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
[2013-05-05 19:32] [PACMAN] upgraded firefox (20.0.1-2 -> 20.0.1-4)
[2013-05-05 19:32] [PACMAN] upgraded gcc-multilib (4.8.0-3 -> 4.8.0-4)
[2013-05-05 19:32] [PACMAN] upgraded gd (2.0.36RC1-5 -> 2.0.36RC1-6)
[2013-05-05 19:32] [ALPM-SCRIPTLET] g_module_open() failed for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: libpng15.so.15: cannot open shared object file: No such file or directory
[2013-05-05 19:32] [PACMAN] upgraded gdk-pixbuf2 (2.28.1-1 -> 2.28.1-2)
[2013-05-05 19:32] [PACMAN] upgraded gegl (0.2.0-7 -> 0.2.0-8)
[2013-05-05 19:32] [PACMAN] upgraded ghostscript (9.07-1 -> 9.07-2)
[2013-05-05 19:32] [ALPM-SCRIPTLET] g_module_open() failed for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: libpng15.so.15: cannot open shared object file: No such file or directory
[2013-05-05 19:32] [PACMAN] upgraded libwmf (0.2.8.4-9 -> 0.2.8.4-10)

I opened the /var/lib/pacman/local/*/files of the mentioned packages and ran the mentioned commands with sudo. Today I got the following error while starting Wireshark (and gnuplot):

(gnuplot:8581): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
Segmentation fault (core dumped)
...
(wireshark:8440): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported
**
ERROR:stock_icons.c:229:stock_icons_init: assertion failed: (pixbuf)
Aborted (core dumped)

It turns out that /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache was created with permissions 640 (due to my umask). The solution was to chmod 644 it.

(similarly, gtk-update-icon-cache created /usr/share/icons/hicolor/icon-theme.cache with wrong permissions (640). This did not seem to cause issues though.)

Hopefully it will be of help to someone.

Last edited by Lekensteyn (2013-05-06 14:57:47)

Offline

#2 2013-05-06 15:11:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: libpixbufloader-svg.so: libpng15.so.15: cannot open shared object file

I ran into gtk-update-icon-cache errors too https://bbs.archlinux.org/viewtopic.php?id=16266

Offline

#3 2013-05-06 15:48:45

Lekensteyn
Member
From: Netherlands
Registered: 2012-06-19
Posts: 192
Website

Re: libpixbufloader-svg.so: libpng15.so.15: cannot open shared object file

You are missing a "1", yea I saw that topic. I just forget to mention it:
https://bbs.archlinux.org/viewtopic.php?id=162661

Offline

#4 2013-05-09 17:36:00

operandx
Member
Registered: 2013-05-09
Posts: 2

Re: libpixbufloader-svg.so: libpng15.so.15: cannot open shared object file

I also got into problems after a pacman -Syu today.

I believe removing cleartype-cairo and installing cairo instead fixed the problem

Hope this helps.

As a reference, here are some troubleshooting steps I did:

sudo pacman -S gdk-pixbuf2
warning: gdk-pixbuf2-2.28.1-2 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1): gdk-pixbuf2-2.28.1-2

Total Installed Size:   3.67 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                                                                                           [###################################################################################] 100%
(1/1) checking package integrity                                                                                                         [###################################################################################] 100%
(1/1) loading package files                                                                                                              [###################################################################################] 100%
(1/1) checking for file conflicts                                                                                                        [###################################################################################] 100%
(1/1) checking available disk space                                                                                                      [###################################################################################] 100%
(1/1) reinstalling gdk-pixbuf2                                                                                                           [###################################################################################] 100%
g_module_open() failed for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: libpng15.so.15: cannot open shared object file: No such file or directory


$ pkgfile /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
extra/librsvg

$ yaourt -Sb librsvg

...
...
CCLD     rsvg-view-3
/usr/bin/ld: warning: libpng15.so.15, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/../../../../lib/libcairo.so, not found (try using -rpath or -rpath-link)

$ pkgfile libcairo.so
extra/cairo
multilib/lib32-cairo

[nemo@ilnwadz ~]$ sudo pacman -S cairo
resolving dependencies...
looking for inter-conflicts...
:: cairo and cairo-cleartype are in conflict. Remove cairo-cleartype? [y/N] ^C
Interrupt signal received

Offline

#5 2013-05-09 18:20:57

djolk
Member
Registered: 2008-03-07
Posts: 59

Re: libpixbufloader-svg.so: libpng15.so.15: cannot open shared object file

I am pretty certain it is because libpng was updated from 1.5 to 1.6 but you still have AUR packages (or others) on your system that depend on libpng 1.5. I did some clean up of old packages from AUR on my systems and that took care of it for me.

Offline

Board footer

Powered by FluxBB