synesthesiam / voice2json

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

Pre-compiled packages do not install on Debian 11 #63

Open hendursaga opened 2 years ago

hendursaga commented 2 years ago

Pre-compiled packages cannot be installed on the latest Debian release ("Bullseye") and probably other Debian derivatives. For instance, after installing the .deb package and running voice2json, it complains with:

ImportError: libffi.so.6: cannot open shared object file: No such file or directory

libffi6 is available for Buster, but not Bullseye, where it is instead libffi7.

Perhaps the Dockerfile can be updated and new pre-compiled packages released?

clarriu97 commented 2 years ago

Hi @hendursaga I've had the same problem, and could solve it with this thread from stackoverflow.

Hope it's useful for you.

hendursaga commented 2 years ago

@clarriu97, sadly that's a somewhat risky workaround, it would be good for at least the next release to use Debian 11. Unfortunately I can't seem to get the Docker build scripts to work on my system, so I can't do that for myself just yet.

raphaelyancey commented 1 year ago

I'm having the same problem. It would be great to upgrade the dependencies accordingly, I can't try voice2json for that reason.

auwsom commented 1 year ago

@raphaelyancey this worked in Ubuntu 2204: https://github.com/synesthesiam/voice2json/issues/66 sudo ln -s /usr/lib/aarch64-linux-gnu/libffi.so.7 /usr/lib/aarch64-linux-gnu/libffi.so.6