Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#35425 - full line of gtk2, gtk3 due to strange link both to libpng16.so, libpng15.

Attached to Project: Arch Linux
Opened by Road Tang (roadtang) - Wednesday, 22 May 2013, 14:55 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 22 May 2013, 15:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
after upgrade to the latest using P -Syu.
gtk2, gtk3 (such as. gtk-demo, gtk-querymodules-3.0/2.0) fails to start.

Additional info:
* package version(s)
* config and/or log files etc.
pls refer to steps.

Steps to reproduce:
$ uname -a
Linux oldman 3.9.3-1-ARCH #1 SMP PREEMPT Sun May 19 22:50:29 CEST 2013 x86_64 GNU/Linux
$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
error: failed retrieving file 'aur.db' from ftp.archlinux.org : Server denied you to change to the given directory
error: failed to update aur (download library error)
:: Starting full system upgrade...
warning: goagent-git: local (20130330-1) is newer than aur (20120804-1)
there is nothing to do
$ P -Q gtk
gtk 1.2.10-11
$ P -Q gtk2
gtk2 2.24.18-1
$ P -Q gtk23
error: package 'gtk23' was not found
$ P -Q gtk3
gtk3 3.8.2-1
$ P -Q libpng
libpng 1.6.2-3
$ gtk3-demo
gtk3-demo: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
$ gtk-demo
gtk-demo: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

$ ldd /usr/bin/gtk3-demo |grep libpng
libpng15.so.15 => not found
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f9c0e24d000)
libpng15.so.15 => not found

both libpng15.so.15 and libpgn16.so.16 ? heck..
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 22 May 2013, 15:24 GMT
Reason for closing:  Not a bug
Comment by Road Tang (roadtang) - Wednesday, 22 May 2013, 14:57 GMT
since those gtk app link to both libpng16.so and libpng15, downgrade to libpng15 doesn't help (it reports libpng16.so.xx lost ).
i temporarily solve by copy libpng15.* files to /usr/lib/ manually. all gtk app affect in my arch desktop box. including.. emacs.
Comment by Jan de Groot (JGC) - Wednesday, 22 May 2013, 14:59 GMT
You should check which unofficial libraries are linked in and replace that one with the official version.
Comment by Road Tang (roadtang) - Wednesday, 22 May 2013, 15:02 GMT
ah, and, sorry for poor english. let me know if further info is required.
Comment by Road Tang (roadtang) - Wednesday, 22 May 2013, 15:08 GMT
@Jan thanks, you are right.

I used these aur package which cause the break.
freetype-cleartype
cairo-cleartype
libxft-cleartype

replace with offical package , now the problem is gone.
thank you. pls close the bug.

Loading...