Pacman | "No such file or directory"



I’m trying to install something with pacman. But when I do it, it gives an error like:

pacman: error while loading shared libraries: cannot open shared object file: No such file or directory

And some other applications does not work. Ex; octopi,libreoffice…
What can I do ?


PacUI: Bash script providing advanced Pacman and Yay/Pikaur/Aurman/Pakku/Trizen/Pacaur functionality in a simple UI

It seems you forced removed gtk2 and gtk3. The solution seems to be to remove and reinstall them.
pacman -Rdd gtk2 gtk3 package/that/caused/problem
pacman -S gtk2 gtk3

To read more the solution is from here

#3 is in icu package


My problem is with pacman. So I can’t use any pacman command. When I try commands that you gave me it gives an error too.


Yes it is :slight_smile:


Yes sorry i was too hasty. Seems pacman is broken.


I hope someone who knows more can tell you, so far i,ve seen this post that might help you.


i dont view pacman use icu ?
Maybe you can test with LANG=C pacman -S icu


in order to fix this you have to manually install the icu-58.2 package.
to do that you first need to download the package from HERE
after that extract the icu folder and move to the folder and run these comands :

cd source
./configure --prefix=/usr
make install

after this you should be able to use pacman and other programs which use icu.


It is much easier. You simply have to extract the icu package as root:

wget$(uname -m).pkg.tar.xz
sudo tar -C / icu-58.2-1-$(uname -m).pkg.tar.xz usr

closed #11

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.