Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: deepforest on 07 March 2023, 22:02:26

Title: [SOLVED] broke Artix by installing libunistring.so
Post by: deepforest on 07 March 2023, 22:02:26
while do makepkg from aur it says that i need libunistring.so
after installing libunistring now pacman not working
Code: [Select]
home:[root]:/home/freeartist-artix# pacman -Sy
pacman: error while loading shared libraries: libunistring.so.2: cannot open shared object file: No such file or directory
home:[root]:/home/freeartist-artix#
how fix system?
Title: Re: broke Artix by installing libunistring.so
Post by: deepforest on 07 March 2023, 22:38:19
temporary fix
make copy libunistring.so.5.0.0 to libunistring.so.2
do update system...
Title: Re: broke Artix by installing libunistring.so
Post by: gripped on 07 March 2023, 22:39:09
How did you install libunistring?
You were fresh installing Artix earlier. Did you update the system with
Code: [Select]
sudo pacman -Syu
before starting to build packages with makepkg. You should have done especially if the same old iso we were talking about earlier.

My pacman links to libunistring.so.5 so yours (pacman) seems like it must be old?

What's the output of
Code: [Select]
ls -al /var/cache/pacman/pkg/libunistring*
Title: Re: broke Artix by installing libunistring.so
Post by: deepforest on 07 March 2023, 22:46:19
Sorry to me. I am n00b at Artix ::)
I am starting installing packages from AUR without frash updated sysytem.
Now updating in process.
And it look so
Code: [Select]
home:[freeartist-artix]:~/Downloads$ ls -al /var/cache/pacman/pkg/libunistring*
-rw-r--r-- 1 root root 689395 Nov  7 20:35 /var/cache/pacman/pkg/libunistring-1.1-2-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root    566 Nov  7 20:35 /var/cache/pacman/pkg/libunistring-1.1-2-x86_64.pkg.tar.zst.sig
home:[freeartist-artix]:~/Downloads$
Title: Re: broke Artix by installing libunistring.so
Post by: gripped on 07 March 2023, 22:49:39
Sorry to me. I am n00b at Artix ::)

No worries. So long as you have a working pacman now & you have a fully updated sytem with
Code: [Select]
sudo pacman -Syu
you should be fine.
Title: Re: broke Artix by installing libunistring.so
Post by: deepforest on 07 March 2023, 22:57:19
Upadted successfuly :)
Title: Re: broke Artix by installing libunistring.so
Post by: justauser on 08 March 2023, 08:24:28
There was the same error in Manjaro. So it's not Artix only problem.