-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
The bug
Running this script from Linux Mint, I get this error:
/usr/bin/pacman: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
So it seems this script is not downloading libxml2
, which is required by pacman.
The work-around for others encountering this
I managed to work around the issue like so:
- Go to https://archlinux.org/packages/core/x86_64/libxml2
- Click on Download From Mirror
- Extract the resulting
.tar.zst
file. - Merge its contents with your chroot dir. In my case, it looked like this:
rsync -av ~/Downloads/libxml2-2.13.0-4-x86_64.pkg/usr/ chroot/myarch/usr/
- Rerun the
arch-bootstrap
command.
Once that was done I chroot'd in like normal and everything worked fine.
fsa
Metadata
Metadata
Assignees
Labels
No labels