错误消息如下:
[root@**** ~]# pacman -Syu
pacman: error while loading shared libraries: libarchive.so.12: cannot open shared object file: No such file or directory
看架式是共享库libarchive.so.12不存在?网上也找不到这个东西,pacman本身不正常,简直就不知道应咋个解决了?!未必只有重新安装系统了吗?
各位大神,求解决方法啊。
先谢谢啦~~~~~~~
莫不痴 于 2012-02-26 20:58:24发表:
创建软连接指向libarchive.so.2后解决。谢谢楼上 ~~~
irongeek 于 2012-02-25 05:21:03发表:
Arch Linux: Pacman 4.0 upgrade breaks the system
slopjong January 17, 2012
Since yesterday, January 16th, pacman 4 is in the core repository and upgrading to it breaks the system.
If you can wait with any updates, wait. If you must update some packages, only update those which you need to update right now and which don’t affect the system.
To exclude the packages which surely breaks your system, edit your /etc/pacman.conf and add to IgnorePkg all packages related to any package manager stuff and all packages you know that they break something.
If you encounter trouble with other packages, let me know.
If you updated libarchive for whatever reason pacman stops to work while it outputs this error message:
pacman: error while loading shared libraries: libarchive.so.2: cannot open shared object file: No such file or directory
To fix this you have to create a symlink pointing from libarchive.so.2 to libarchive.so.12.0.3. Adapt the version number of according to your installed archive lib. Check this with
Now pacman should work again.