alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.57k stars 1.06k forks source link

Support for older glibc version (2.21) #1325

Open argen666 opened 1 year ago

argen666 commented 1 year ago

Hi there, I'm trying to use the vosk-api library on a system with glibc version 2.21 installed. However, the library currently only supports glibc version 2.27 or higher. Is it possible to add support for older versions of glibc, specifically version 2.21? If not, do you have any recommendations for a workaround or alternative solution? I've tried to compile from source, but I'm encountering issues with the compilation process. I was unable to use the docker image alphacep/dockcross-linux-armv7, as it seems to no longer exist. Thanks!

nshmyrev commented 1 year ago

Is it possible to add support for older versions of glibc, specifically version 2.21?

Not sure we are interested

If not, do you have any recommendations for a workaround or alternative solution?

You can always compile from source

I've tried to compile from source, but I'm encountering issues with the compilation process.

You'd better describe the issues in details

I was unable to use the docker image alphacep/dockcross-linux-armv7, as it seems to no longer exist.

it is still here:

https://hub.docker.com/layers/alphacep/dockcross-linux-armv7/latest/images/sha256-19df925d5be45d8bfd2b3f8a2cb3637642f21fa626cc5ba93b5a663455530729?context=explore

argen666 commented 1 year ago

Could you please specify the instruction/dockerfile what I can use to build from source for my system:

Linux 4.2.6-300.aq.fc22.i686 #1 SMP Mon Dec 14 14:33:27 NOVT 2015 i686 i686 i386 GNU/Linux

Thanks

nshmyrev commented 1 year ago

This line builds for x86:

https://github.com/alphacep/vosk-api/blob/master/travis/build-dockcross.sh#L7

corresponding docker commands here:

https://github.com/alphacep/vosk-api/blob/master/travis/Dockerfile.dockcross

argen666 commented 1 year ago

I have compiled it from sources and linked with needed glibc. If you need I can share the compiled lib. The issue can be closed. Thanks