You are not logged in.
Pages: 1
Topic closed
I just do some customization on my i3 system and install some packages. Before that, I tried to install gconf with
yay -S gconf
. But it failed with some build error. Then I install oomox with
yay -S themix-full-git
. When I tried to run oomox with the command
oomox-gui
it's giving me an error with
ImportError: libffi.so.6: cannot open shared object file: No such file or directory
. Then I noticed that my blueman-applet is not running. So I ran
blueman-applet
, it returns me the same error. And now I can't open anything. Thunar, Sublime, leafpad, Brave browser everything returning me the same error.
I think I just broke my system. Please help me with this.
Last edited by enigmatic_jihad (2020-04-14 07:02:52)
Offline
Please paste your full pacman.log (use a paste service).
Offline
Please paste your full pacman.log (use a paste service).
Here is the full pacman.log
Offline
Seems you're habitually running pacman -Sy. DON'T DO THAT. I don't see where you've updated the entire system at all, which is the cause of your problem. Update everything, then never, ever run -Sy again.
Online
I got the same error today when trying to use pip from a python venv. I think it's due to the libffi update yesterday. Try rebuilding and clean installing those affected packages.
Offline
Seems you're habitually running pacman -Sy. DON'T DO THAT. I don't see where you've updated the entire system at all, which is the cause of your problem. Update everything, then never, ever run -Sy again.
Thanks. I never thought it would be that easy. Upgrading the whole system fixes the issue.
Offline
I had this same problem with Yosys (which depends on libffi). I have used this work around:
"ln -sf /usr/lib/libffi.so.7 /usr/lib/libffi.so.6"
from https://bugs.archlinux.org/task/66230
MOD EDIT: Don't do this. It will cause far more problems than it "fixes".
Last edited by fukawi2 (2020-04-18 22:42:34)
Offline
That's a stupid workaround. Read up on what soname bumps are and why they happen.
Yosys in the repos was updated 10 days ago for this very library change:
https://git.archlinux.org/svntogit/comm … c2ca77ad6e
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I had this same problem with Yosys (which depends on libffi). I have used this work around:
"ln -sf /usr/lib/libffi.so.7 /usr/lib/libffi.so.6"
And it's no longer there. That is NOT a solution, it shows a serious lack of understanding of dynamic linking. DO NOT DO THIS.
Online
Hi, I am also experiencing this in python3, works in python2 (i upgrade with pacman -Syu). Can anyone suggest what to do?
~ $ python
Python 3.8.2 (default, Apr 8 2020, 14:31:25)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/marin/.local/lib/python3.8/site-packages/gi/__init__.py", line 42, in <module>
from . import _gi
ImportError: libffi.so.6: cannot open shared object file: No such file or directory
>>>
Thanks!
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed