So I'm running Ubuntu 20.04 LTS, and on server start, I get following:
Code: Select all
ImportError: libffi.so.6: cannot open shared object file: No such file or directory
[Source.Python] Could not initialize python.
Checking requirements in wiki, I found I have to execute following:
Code: Select all
sudo apt-get install zlib1g:i386
sudo apt-get install libffi6:i386
but on libffi6 I get following:
sudo apt-get install libffi6:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libffi6:i386
tried:
Code: Select all
sudo apt-get install libffi-dev:i386
with success but didnt help.
Even did:
from this post here: viewtopic.php?p=12488#p12488sudo dpkg --add-architecture i386
but it didnt help aswell.
I tried searching for libffi and got following:
sudo apt-cache search libffi
libffi-dev - Foreign Function Interface library (development files)
libffi7 - Foreign Function Interface library runtime
libalt-alien-ffi-system-perl - simplified alternative to Alien::FFI that uses system libffi
libffi-checklib-perl - module to check availability of a library for FFI
libffi-platypus-perl - module to create Perl bindings to non-Perl libraries with FFI
libffindex0 - library for simple index/database for huge amounts of small files
libffindex0-dev - library for simple index/database for huge amounts of small files (development)
libjffi-java - Java Foreign Function Interface
libjffi-jni - Java Foreign Function Interface (JNI library)
soooo yeah, I'm in need for help since I dont have much linux knowledge, to solve it myself.
Thanks