Gary' Blog

Failed to initialize platform (azure-c-shared). Error: 2176 Solved for Azure Speech to Text

The cause of the problem could be libssl version, the sdk azure-cognitiveservices-speech doesn’t support libssl3 yet.

So we have to install libssl1.1 manually:

export arch=$(dpkg --print-architecture)
apt-get -y install curl libasound2
curl -Ok https://deb.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_${arch}.deb
dpkg -i libssl1.1_1.1.1w-0+deb11u1_${arch}.deb

References:

Exit mobile version