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#28469 - xfce4-session depends on libpng14

Attached to Project: Arch Linux
Opened by Viktor (thesame) - Thursday, 16 February 2012, 15:30 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 16 February 2012, 18:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: xfce4-session depends on both libpng14 and libpng15

Additional info:
xfce4-session 4.8.3-1

Steps to reproduce:
$pacman -S xfce4-session && ldd `which xfce4-session` | grep png
libpng15.so.15 => /usr/lib/libpng15.so.15 (0xb684d000)
libpng14.so.14 => /usr/lib/libpng14.so.14 (0xb6787000)
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 16 February 2012, 18:31 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Fix your AUR packages.
Comment by Ionut Biru (wonder) - Thursday, 16 February 2012, 15:36 GMT
please read the news entry related to libpng and start by looking at packages installed from AUR.

hint: pacman -Qs cairo
Comment by Dave Reisner (falconindy) - Thursday, 16 February 2012, 18:31 GMT
It's impossible for a binary to depend on 2 version of the same library. The linker will flat out not do this. Your misunderstanding of the situation stems from blindly trusting the output of ldd, which recursively solves dependencies (it's literally invoking the linker in "read-only" mode). If you want to see the actual dependencies of the binary (DT_NEEDED ELF sections), use readelf -d. In this case, you'd see that xfce4-session doesn't even directly depend on libpng.

Your cairo package is built from the AUR against libpng14, while your gdk-pixbuf2 package is from us and properly compiled against libpng15.

Loading...