oreggin@genie /opt/google/talkplugin/lib $ ldd *.so | grep png oreggin@genie /opt/google/talkplugin $ ldd *.so | grep png libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007f5dff70b000) oreggin@genie /opt/google/talkplugin $ ldd GoogleTalkPlugin | grep png libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007f8690cc1000) Reproducible: Always Expected Results: In ebuilds must simply change "media-libs/libpng:1.2" to "media-libs/libpng".
This is not true at all. The stable version is ok. For the unstable if I type: qlist -e "www-plugins/google-talkplugin" | xargs scanelf -L -n -q -F '%n #F' | tr , ' ' | xargs qfile -Cv | sort -u | awk '{print $1}' | grep png it is not linked anymore to libpng, so is not needed.
Erhm. After I build a 9999 versioned plugin, in its files depends on libpng: genie ~ # ebuild /usr/portage/www-plugins/google-talkplugin/google-talkplugin-9999.ebuild install * checking ebuild checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... * Fetching google-talkplugin_current_amd64.deb --2013-04-22 15:17:01-- http://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb dl.google.com feloldása… 2a00:1450:4001:c02::88, 173.194.35.142, 173.194.35.135, ... Csatlakozás a következőhöz: dl.google.com[2a00:1450:4001:c02::88]:80… kapcsolódva. HTTP kérés elküldve, várakozás válaszra… 200 OK Hossz: 12723112 (12M) [application/x-debian-package] Mentés ide: „google-talkplugin_current_amd64.deb” 100%[======================================>] 12.723.112 9,65MB/s idő 1,3s 2013-04-22 15:17:02 (9,65 MB/s) -- „google-talkplugin_current_amd64.deb” mentve [12723112/12723112] >>> Unpacking google-talkplugin_current_amd64.deb to /var/tmp/portage/www-plugins/google-talkplugin-9999/work >>> Unpacking data.tar.gz to /var/tmp/portage/www-plugins/google-talkplugin-9999/work >>> Source unpacked in /var/tmp/portage/www-plugins/google-talkplugin-9999/work >>> Preparing source in /var/tmp/portage/www-plugins/google-talkplugin-9999/work ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/www-plugins/google-talkplugin-9999/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/www-plugins/google-talkplugin-9999/work ... >>> Source compiled. >>> Test phase [not enabled]: www-plugins/google-talkplugin-9999 >>> Install google-talkplugin-9999 into /var/tmp/portage/www-plugins/google-talkplugin-9999/image/ category www-plugins >>> Unpacking changelog.Debian.gz to /var/tmp/portage/www-plugins/google-talkplugin-9999/work >>> Completed installing google-talkplugin-9999 into /var/tmp/portage/www-plugins/google-talkplugin-9999/image/ ecompressdir: bzip2 -9 /usr/share/doc genie ~ # cd /var/tmp/portage/www-plugins/google-talkplugin-9999/image/opt/google/talkplugin/ genie talkplugin # ldd GoogleTalkPlugin | grep png libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007fdcabb28000) genie talkplugin #
+ 22 Apr 2013; Christoph Junghans <ottxor@gentoo.org> + google-talkplugin-3.17.0.0.ebuild, google-talkplugin-9999.ebuild: + fixed deps (bug #466796, thx to Tibor Vago)
(In reply to comment #2) > genie talkplugin # ldd GoogleTalkPlugin | grep png > libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007fdcabb28000) output of `ldd` is completely meaningless as it will print also dependencies of it's dependencies use `objdump -p /path/to/file | grep NEEDED` or `scanelf -n /path/to/file`
(In reply to comment #4) > (In reply to comment #2) > > genie talkplugin # ldd GoogleTalkPlugin | grep png > > libpng15.so.15 => /usr/lib64/libpng15.so.15 (0x00007fdcabb28000) > > output of `ldd` is completely meaningless as it will print also dependencies > of it's dependencies > > use `objdump -p /path/to/file | grep NEEDED` or `scanelf -n /path/to/file` Yeah, I have my own script for that: <https://code.google.com/p/cj-overlay/source/browse/scripts/scan_deps> $ scan_deps /opt/google/talkplugin/* but I haven't ran it for a while ;-)
Ahha, thanks. As I see google starts statically links libpng v1.2 into its talkplugin binaries and maybe into their other softwares.