damn. nice "wild guess" :-) C Anthony [mobile] On Feb 2, 2011 12:19 AM, "Allan McRae" <allan@archlinux.org> wrote:
On 02/02/11 16:10, doherty pete wrote:
yes,i have the problem about liblzma pacman: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory
sudo tar -xvpf /var/cache/pacman/pkg/xz*.gz -C / --exclude .PKGINFO --exclude .INSTALL
sudo ln -s /usr/lib/liblzma.so /usr/lib/liblzma.so.0
so i need
sudo ln -s /usr/lib/liblzma.so.0 /usr/lib/liblzma.so.5 ?
Never symlink libraries... As you have discovered, it causes lots of issues that are hard to diagnose.
"pacman -S pacman libarchive xz"
should be enough to fix your problem. Afterwards, remove that symlink you make to /usr/lib/liblzma.so.0 and do a full system update.
Allan