I just upgraded media-libs/libpng and got an soname change from libpng14.so.14 to 15.so.15. Ran revdep-rebuild several times and all the detected packages were rebuilt, as per the 2011-10-15-libpng15 news item. After this, I rm'ed /usr/lib/libpng14.so.14 as it was no longer needed. aMSN however fails to load, with an error message stating that /usr/share/amsn/utils/TkCximage/TkCximage.so can't load libpng14.so.14 and that I should reinstall the program. I re-emerged and of course everything was corrected. aMSN is installing .so's in /usr/share/amsn/utils, which is not searched by revdep-rebuild by default. The net-im/amsn ebuild should install revdep-rebuild configuration file containing the following: # /etc/revdep-rebuild/60-amsn SEARCH_DIRS="/usr/share/amsn/utils" In a related note (probably should start a separate bug), aMSN really shouldn't be installing architecture-specific binaries (.so's) inside /usr/share.
*** This bug has been marked as a duplicate of bug 305417 ***