You are not logged in.

#1 2010-02-21 01:11:16

action_owl
Member
From: WWW, The Internet 127.0.0.1
Registered: 2009-08-15
Posts: 73

[SOLVED] error while loading shared libraries: libpng12.so.0:

I recently installed lmms, then noticed that firefox and midori would not start, so I reinstalled firefox, now lmms, ardour, audacity (and probably other applications) will not load, running them from the command line they all produce the same error:

error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

Midori is producing the same error but with libjpeg

I have tried re-installing the applications and reinstalling libpng and libjpeg with no luck.

The only thing that I can think of that might have triggered this breakage is when I synchronized pacman so that I could install lmms, pacman wanted me to do a full system upgrade but I selected no for fear of an upgrade breaking things, which seemed to happen anyway.

:: Starting full system upgrade...
:: Replace kernel-headers with core/linux-api-headers? [Y/n] n
:: Replace klibc with core/mkinitcpio? [Y/n] n
:: Replace klibc-extras with core/mkinitcpio? [Y/n] n
:: Replace klibc-kbd with core/mkinitcpio? [Y/n] n
:: Replace klibc-module-init-tools with core/mkinitcpio? [Y/n] n
:: Replace klibc-udev with core/mkinitcpio? [Y/n] n

Any help is greatly appreciated, thanks

Last edited by action_owl (2010-02-21 02:14:55)

Offline

#2 2010-02-21 01:13:01

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [SOLVED] error while loading shared libraries: libpng12.so.0:

Doing a full system upgrade is the way to fix this.  Those questions are all safe to answer "yes" to.

Offline

#3 2010-02-21 01:15:35

action_owl
Member
From: WWW, The Internet 127.0.0.1
Registered: 2009-08-15
Posts: 73

Re: [SOLVED] error while loading shared libraries: libpng12.so.0:

Thanks Allan
I'll try the full upgrade.


What would you recommend for "phonon"

looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: kdelibs: requires phonon

pacman -S phonon
resolving dependencies...
warning: provider package was selected (phonon-gstreamer provides phonon-backend)
looking for inter-conflicts...
:: phonon conflicts with qt. Remove qt? [Y/n]

I use XFCE4 but need KDE libraries for some software such as kdenlive

Removing QT does not sound like a good idea...

Last edited by action_owl (2010-02-21 01:19:59)

Offline

#4 2010-02-21 01:21:18

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [SOLVED] error while loading shared libraries: libpng12.so.0:

Please learn to use the forum search feature.   Both of these questions have been answered many times.

http://www.archlinux.org/news/483/

Offline

#5 2010-02-21 02:14:31

action_owl
Member
From: WWW, The Internet 127.0.0.1
Registered: 2009-08-15
Posts: 73

Re: [SOLVED] error while loading shared libraries: libpng12.so.0:

Thanks Allan,
I'll be sure to search next time.

Offline

Board footer

Powered by FluxBB