I deleted the lib32-ncurses manually from the /usr/lib folder (I know...)
I was having issues with a compiled PHP and libncursesw.so.5
It broke Arch. So I boot from my a live cd but if I try to, mounted the partition but when trying to chroot to the root mount at /mnt I get:
/bin/sh: error while loading shared libraries: libncurses2.so.6: cannot open shared object file: No such file or directory
/usr/lib/libncurses2.so.6
into the mounted/usr/lib
, then seeing if that works. If it does, you probably want to reinstall the package just to be sure.bash
needs all that jazz. symlink some other shell over/bin/sh
- likeln -sf /usr/lib/initcpio/busybox /bin/sh
or something.chroot
then it probably wont be/
at the head of the path. Anyway, you can just use thepacman
-r
argument to install the package you need from without thechroot
as well.pacman -r /path/to/chroot -S ncurses --force