[arch-general] pacman -S xfce4-goodies fail

Allan McRae allan at archlinux.org
Wed Feb 2 01:26:07 EST 2011


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


More information about the arch-general mailing list