sys-libs/readline-5.0-r1 saves the old libreadline.so.4* libs for the sake of compatibility and tells the user to remove it once he re-emerged all the packages needing it, see http://bugs.gentoo.org/show_bug.cgi?id=29865. The same should be done with the libhistory.so.4* files since some packages (in my case PHP) depend on it and therefore break after upgrading to readline-5: ~ # /etc/init.d/apache2 start * Apache2 has detected a syntax error in your configuration files: Syntax error on line 6 of /usr/lib/apache2/conf/modules.d/70_mod_php5.conf: Cannot load /usr/lib/apache2/modules/libphp5.so into server: libhistory.so.4: cannot open shared object file: No such file or directory
Created attachment 46906 [details, diff] Patch against readline-5.0-r1.ebuild Copy-pasted the stuff from libreadline.so.4*, works here.
no libreadline is only copied over because critical system files may be linked against it the same is not really true for libhistory
*** Bug 96222 has been marked as a duplicate of this bug. ***
libhistory was added to the ebuild at some point