Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75709 - readline-5 should copy over libhistory.so.4, too
Summary: readline-5 should copy over libhistory.so.4, too
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 96222 (view as bug list)
Depends on:
Blocks: 29865
  Show dependency tree
 
Reported: 2004-12-26 09:19 UTC by golloza
Modified: 2011-11-09 18:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch against readline-5.0-r1.ebuild (readline-libhistory-fix,994 bytes, patch)
2004-12-26 09:21 UTC, golloza
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description golloza 2004-12-26 09:19:19 UTC
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
Comment 1 golloza 2004-12-26 09:21:25 UTC
Created attachment 46906 [details, diff]
Patch against readline-5.0-r1.ebuild

Copy-pasted the stuff from libreadline.so.4*, works here.
Comment 2 SpanKY gentoo-dev 2004-12-26 13:27:02 UTC
no

libreadline is only copied over because critical system files may be linked against it

the same is not really true for libhistory
Comment 3 SpanKY gentoo-dev 2011-11-09 18:28:16 UTC
*** Bug 96222 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2011-11-09 18:29:14 UTC
libhistory was added to the ebuild at some point