Page 1 of 1

pnglib12.so.0

Posted: Fri Jul 20, 2012 2:18 pm
by ueliash
I installed XnViewMP-051 to a new Fedora 17 and get
[elias@localhost ~]$ XnView/xnview.sh
/home/elias/XnView/XnView: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

In fact, a newer version is installed in Fedora 17:
[root@localhost lib]# rpm -q libpng
libpng-1.5.10-1.fc17.i686
[root@localhost lib]# ls -l /usr/lib/libpng*
lrwxrwxrwx. 1 root root 19 Jul 19 15:05 /usr/lib/libpng15.so -> libpng15.so.15.10.0
lrwxrwxrwx. 1 root root 19 Jul 20 15:56 /usr/lib/libpng15.so.0 -> libpng15.so.15.10.0
lrwxrwxrwx. 1 root root 19 Jul 19 15:03 /usr/lib/libpng15.so.15 -> libpng15.so.15.10.0
-rwxr-xr-x. 1 root root 183712 Apr 7 21:28 /usr/lib/libpng15.so.15.10.0
lrwxrwxrwx. 1 root root 11 Jul 19 15:05 /usr/lib/libpng.so -> libpng15.so

I tried
ln -s libpng15.so.15.10.0 libpng12.so.0
but then the result was
[elias@localhost ~]$ XnView/xnview.sh
/home/elias/XnView/XnView: /lib/libpng12.so.0: version `PNG12_0' not found (required by /home/elias/XnView/lib/libQtGui.so.4)

Any solution?
Thanks,
U Elias

Re: pnglib12.so.0

Posted: Sat Jul 21, 2012 11:35 am
by xnview
you can't install libpng 1.2?

Re: pnglib12.so.0

Posted: Thu Jul 26, 2012 6:21 pm
by ueliash
I seems complicated to unistall libpng15. I tried
> sudo rpm -e libpng-1.5.10-1.fc17.i686
error: Failed dependencies:
libpng15.so.15 is needed by (installed) gdk-pixbuf2-2.26.1-1.fc17.i686
libpng15.so.15 is needed by (installed) cairo-1.10.2-7.fc17.i686
libpng15.so.15 is needed by (installed) cairo-gobject-1.10.2-7.fc17.i686
libpng15.so.15 is needed by (installed) cups-libs-1:1.5.2-12.fc17.i686
libpng15.so.15 is needed by (installed) libpng-devel-2:1.5.10-1.fc17.i686
and so on ...
Perhaps I shall wait to the next release.
Thanks,
UE

Re: pnglib12.so.0

Posted: Fri Jul 27, 2012 4:59 am
by MaxSt
ueliash wrote:I seems complicated to unistall libpng15.
You don't need that. You need to install libpng12.