FS#8064 - readline: /usr/lib/libhistory.so symlink is broken

Attached to Project: Arch Linux
Opened by Marco (cipparello) - Wednesday, 19 September 2007, 21:35 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 11 December 2007, 18:56 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Symlink /usr/lib/libhistory.so in the package is broken; it should point to '../../lib/libhistory.so.5' instead of 'libhistory.so.5'

Additional info:
pkgname = readline
pkgver = 5.2-4

Steps to reproduce:
Install the package and check the symlink /usr/lib/libhistory.so
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 11 December 2007, 18:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in testing, will move to core after signoff.
Comment by Rob (RobK) - Friday, 21 September 2007, 21:58 GMT
I have the same problem after upgrading readline. Readline is the package that installs the libhistory library but it looke like during the last upgrade the readline package broke important symlinks.

On my system /usr/lib/libhistory.so is a symlink pointing to libhistory.so.5

But libhistory.so.5 does not exist anymore in /usr/lib. It is now in /lib.

( FYI -- libhistory.so.5 is also a symlink point to libhistory.so.5.2 (which does exisit in /lib))

Until the bug is fixed there is an easy workaround just fix the symlink.

ln -sf /lib/libhistory.so.5 /usr/lib/libhistory.so

Rob
Comment by FadiM (Schpariel) - Monday, 15 October 2007, 09:40 GMT
Confirmed on Arch i686 with the latest readline from core.

$ mkdir /tmp/readline_contents
$ tar -C /tmp/readline_contents -xf /var/cache/pacman/pkg/readline*i686.pkg.tar.gz
$ file `find /tmp/readline_contents/` | grep broken

/tmp/readline_contents/usr/lib/libhistory.so: broken symbolic link to `libhistory.so.5'
Comment by Rob (RobK) - Wednesday, 17 October 2007, 14:56 GMT
Thanks FadiM. I am really surprised that this bug has not been fixed. It is easy to replicate and verify and I even gave the fix. Just change the symlink. Since this bug is "low priority" it may take a long time. Too bad. IMHO, readline is essential for command line users (i.e. all Arch users).

Loading...