You are not logged in.
Recently started getting an ImportError in my Python3.8 environment, stating: libffi.so.7: cannot open shared object file
I can see that there are several similar posts here, where most of the issues are caused by a partial update of the system at hand. Most of the cases were solved by simply doing a full system upgrade with:
sudo pacman -Syu
AFAIK I haven't done a partial upgrade of my system, and the previous one went without a hiccup.
I've tried reinstalling the libffi package, and rolling it back from the cached package. That failed due to a dependency conflict that I am unsure if I can solve.
Pastebin didn't seem to accept my entire pacman log so I have added the log for the past few weeks, going far beyond when I identified the issue: https://pastebin.com/LcenpQtK
If you need more of the log, are there any other services that would be good to share >10K lines?
Thanks.
Last edited by vegarab (2021-10-28 13:49:17)
Offline
Everything in the repos was rebuilt against the new lib. Anything you build yourself, like python 3.8, would need manually rebuilt.
Offline
Rebuilding python 3.8 solved it, makes sense. Thank you @Scimmia
Last edited by vegarab (2021-10-28 13:49:37)
Offline
You may also need to rebuild cached wheels and reinstall them in virtualenv
find ~/.cache/pip/ -iname 'pygobject*'
Offline