You are not logged in.
Hi,
I just updated libpng from 1.2.40-1 to 1.4.0-2, and evince, gedit, thunar, and some other apps stopped working. It says:
evince: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directoryI see that libpng has moved to /usr/lib/libpng14.so.14.
I tried upgrading evince, but it didn't help (and it finished with a warning - gtk-update-icon-cache: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory).
I admit that I didn't upgrade anything for a long time (only if I needed something), so it may be the problem. (I just thought, that pacman will manage differences in versions). If it is so, please tell me which packages might need to be upgraded.
I supose I could fix it with a symlink, but it doesn't appear as "the right solution" to me ![]()
Basically, the problem is: how to tell evince (and all other apps) that they try to load a wrong version of libpng?
Thanks in advance.
MD
Last edited by mik01aj (2010-03-22 17:15:39)
Offline
you are assuming wrong. a dependency of evince is needing libpng12 and i were in your place, i'll start by looking at what unsupported packages you got.
pacman -Qm
if you got cairo-lcd/ubuntu/whatever, you have to get the latest version from aur and rebuild it yourself. after that reinstall gtk2
Give what you have. To someone, it may be better than you dare to think.
Offline
I removed gif2png (it was the only dependency of libpng>=1.4.0), downgraded libpng and everything works now. Thank you! ![]()
Offline
I removed gif2png (it was the only dependency of libpng>=1.4.0), downgraded libpng and everything works now. Thank you!
what? i didn't say to do anything like that. downgrading is not a solution. now every application is built against new libpng and you'll have problems in the future.
just fully update your system. pacman -Syu and start finding what are you doing wrong.
Give what you have. To someone, it may be better than you dare to think.
Offline
Ok, maybe you're right.
I did as you said, and started by upgrading gtk2, which fixed the problem with libpng, but left me with another error:
evince: error while loading shared libraries: libjpeg.so.7: cannot open shared object file: No such file or directoryI would do as you say, and upgrade everything, but I get a dependency error - kdelibs: requires phonon.
And I can't install phonon, as it would remove Qt, and a lot of applications require Qt (should I use --force here?).
Offline
Use --asdeps as the news item says to do.
[git] | [AURpkgs] | [arch-games]
Offline
there is a libpng12 in AUR. Try it after you pacman -Syu. I have libpng in extra and libpng12 in AUR installed. They don't conflict.
Awesome is awesome.
Offline
Recompile the software that's linked against the old libpng...
[git] | [AURpkgs] | [arch-games]
Offline
just fully update your system. pacman -Syu and start finding what are you doing wrong.
I did pacman -Syu, it took about 2 hours. But everything was updated successfully - no more problems with missing libraries (hopefully) ![]()
Thank you ![]()
Offline