When emerging dropbox-1.2.51 it emerged libpng-1.2.46 and openssl-0.9.8t as dependencies. I realized that I have newer versions (in newer slots) of these packages, so I removed the newly emerged old versions and dropbox doesn't give any problem with the more recent versions. Shouldn't be enough to make dropbox depend on libpng and openssl without restricting the dependencies to old slots? i.e. replace: RDEPEND=" dev-libs/popt dev-libs/openssl:0.9.8 >=sys-devel/gcc-4.2.0 net-misc/wget net-misc/rsync media-libs/libpng:1.2" by RDEPEND=" dev-libs/popt dev-libs/openssl >=sys-devel/gcc-4.2.0 net-misc/wget net-misc/rsync media-libs/libpng"
Right, but that is because this time it is statically linked. Otherwise we would need the other versions. 16 Feb 2012; Justin Lecher <jlec@gentoo.org> dropbox-1.2.51.ebuild: + Drop all deps as the binary is statically linked +
I was wrong, it is not statically linked, but somehow ldd doesn't work on it. But the deps are right except of libpng Dynamic section at offset 0x34b510 contains 28 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0] 0x0000000000000001 (NEEDED) Shared library: [libdl.so.2] 0x0000000000000001 (NEEDED) Shared library: [libutil.so.1] 0x0000000000000001 (NEEDED) Shared library: [libm.so.6] 0x0000000000000001 (NEEDED) Shared library: [libssl.so.0.9.8] 0x0000000000000001 (NEEDED) Shared library: [libcrypto.so.0.9.8] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6]