synesthesiam / voice2json

Command-line tools for speech and intent recognition on Linux
MIT License
1.08k stars 63 forks source link

libffi.so.6 no such file or directory #66

Open sonsaeng opened 2 years ago

sonsaeng commented 2 years ago

I try to install debian-voice2json on raspiz2. When I try to download a profile I get the message: "ImportError: libffi.so.6: cannot open shared object file: No such file or directory." I`m a Linux-newbi, therefore I need a little help. THX a lot

lukifer commented 2 years ago

@sonsaeng I ran into a similar problem, I fixed it by creating a symbolic link to the newer version of the library: sudo ln -s /usr/lib/aarch64-linux-gnu/libffi.so.7 /usr/lib/aarch64-linux-gnu/libffi.so.6 (your path for aarch64-linux-gnu may be different, depending on OS version and hardware)

Disclaimer: I copy-pasta'd this from elsewhere, I can't guarantee there won't be side effects, your mileage may vary, etc ;)

drzraf commented 2 years ago

63

auwsom commented 1 year ago

workaround works in Ubuntu 2204