You are not logged in.
I got a new laptop today and decided to put 64-bit Arch on a 240GB Kingston V300 SSD (with Windows 8 on the other partition - this laptop uses a legacy BIOS-MBR) using a USB stick as the install medium. When I install, everything works without incident until I go to chroot into the newly installed base system on the SSD. The following error occurs:
# arch-chroot /mnt /bin/bash
/bin/bash: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
The package readline 6.3.006-1 is currently installed and libreadline.so, libreadline.so.6 and libreadline.so.6.3 are all present within /usr/lib
I've tried installing Arch three times without any success, tried chrooting after installing, no dice. Tried different USB sticks, same issue and also tried the previous ISO from April 2015 and the same error comes up.
Not sure where to go from here.
Thanks in advance.
Last edited by tghe-retford (2015-05-23 14:55:38)
Offline
tghe-retford, latest version of readline is 6.3.008-1 , is the mirror you selected up to date ?
https://www.archlinux.org/mirrors/status/
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
tghe-retford, latest version of readline is 6.3.008-1 , is the mirror you selected up to date ?
https://www.archlinux.org/mirrors/status/
Finally managed to update it to 6.3.008-1, still gives the same error:
root@archiso ~ # pacman -Q readline
readline 6.3.008-1
root@archiso ~ #arch-chroot /mnt /bin/bash
/bin/bash: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory :(
127 root@archiso ~ #
Offline
Mark it as solved now. I have figured out that doing the following:
# pacman -r /mnt -S readline
and then when it complained libncurses.so.5 was missing, I also did:
# pacman -r /mnt -S ncurses
and now I have chroot.
Offline
I got the same error message when installing. Installation media: archlinux-2015.11.01-dual.iso . (I used a package cache on another HDD though.) Maybe this quirk about "readline" should go to the installation manual? BTW, "readline" depends on "ncurses".
Last edited by beroal (2016-02-11 19:17:37)
we are not condemned to write ugly code
Offline