Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] libffi.so.8: cannot open shared object file: No such file or directory (Read 6738 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[SOLVED] libffi.so.8: cannot open shared object file: No such file or directory

After running sudo pacman -Syu today. Some of the packages on my machine breaks. I'm unable to run xmonad and gscan2pdf.

Output of xmonad --help:
Code: [Select]
xmonad: error while loading shared libraries: libffi.so.8: cannot open shared object file: No such file or directory

My pacman.log https://go.0xfc.de/yyocc

Re: libffi.so.8: cannot open shared object file: No such file or directory

Reply #1
After running sudo pacman -Syu today. Some of the packages on my machine breaks. I'm unable to run xmonad and gscan2pdf.
This morning :
Code: [Select]
sudo pacman -Syyu
warning: cannot resolve "libffi.so = 8-64", a dependency of "thunderbird"


Re: libffi.so.8: cannot open shared object file: No such file or directory

Reply #3
No

Re: libffi.so.8: cannot open shared object file: No such file or directory

Reply #4
Don't know if this helps, but Arch core repo seems to have the correct ffi lib:
https://archlinux.org/packages/core/x86_64/libffi/
build date seems pretty fresh(2021-10-16) too...
as always, correct me if I'm wrong ;)

Re: libffi.so.8: cannot open shared object file: No such file or directory

Reply #5
libffi in Artix repo is behind. You either downgrade xmonad/thunderbird to use libffi 3.3-4 and wait for the system repo to catch up, or enable Arch core repo to install the new version 3.4.2-4. I would recommend downgrade.

Re: libffi.so.8: cannot open shared object file: No such file or directory

Reply #6
Hello,

There is an update of artix-mirrorlist :

Code: [Select]
pacman -Qs artix-mirrorlist
local/artix-mirrorlist 20211020-1
    Artix mirror list for use by pacman

Code: [Select]
sudo pacman -Sy artix-mirrorlist


Next  :
Code: [Select]
sudo cp /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist

I have commented out all the servers except those that interest me in the new file /etc/pacman.d/mirrorlist

And after that :
Code: [Select]
sudo pacman -Syyu

And everything is back to normal.

Re: libffi.so.8: cannot open shared object file: No such file or directory

Reply #7
I ran the update today using
Code: [Select]
sudo pacman -Syu

and everything works again