pnglib12.so.0

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
ueliash
Posts: 16
Joined: Sat Jan 09, 2010 6:31 pm

pnglib12.so.0

Post 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
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: pnglib12.so.0

Post by xnview »

you can't install libpng 1.2?
Pierre.
ueliash
Posts: 16
Joined: Sat Jan 09, 2010 6:31 pm

Re: pnglib12.so.0

Post 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
MaxSt
Posts: 133
Joined: Fri Apr 10, 2009 9:55 pm

Re: pnglib12.so.0

Post by MaxSt »

ueliash wrote:I seems complicated to unistall libpng15.
You don't need that. You need to install libpng12.
Post Reply