You are not logged in.
Pages: 1
When I updated my system i saw a lot of messages like blablabla invalid elf header.
After rebooting my system refused to start, so i downloaded live-iso and tried to check what happened to my system. I used arch-chroot to get inside it, and tried to check updates by yay, when i did that i've got this message:
error while loading shared libraries: /usr/share/libarchive.so.13: invalid ELF header
When i tried to create new linux kernel image using mkinitcpio -P it's complained that libmpft.so.6 has invalid ELF header and all modules of nvidia driver are failed to be found
Please help me with this problem, i don't want to reinstall my system totally
Offline
/usr/share/libarchive.so.13 isn't a thing, was it maybe /usr/lib/libarchive.so.13 ?
messages like blablabla
https://bbs.archlinux.org/viewtopic.php?id=57855
Don't chroot, check
file -L /usr/lib/libarchive.so.13
pacman --root /mnt -Qikk libarchivei don't want to reinstall my system totally
If you turned random libraries into mush you'll likely have to re-install all packages at least.
https://wiki.archlinux.org/title/Pacman … nal_pacman
You'll liekly have to use --root and specify --cachedir as well (as there's unliekly enough free space on the iso)
https://man.archlinux.org/man/core/pacm … en#OPTIONS
Offline
Pages: 1