I am currently working on building an example in Golang, following the instructions provided in the relevant README file. However, I have encountered an error and would greatly appreciate your assistance in resolving it.
The error I am facing is as follows:
Input
shell
VOSK_PATH=$(pwd)/vosk-linux-x86_64-0.3.45
LD_LIBRARY_PATH=$VOSK_PATH
CGO_CPPFLAGS="-I $VOSK_PATH"
CGO_LDFLAGS="-L $VOSK_PATH -lpthread"
go run . -f test.wav
output
shell
github.com/alphacep/vosk-api/go/example
/usr/bin/ld: cannot find -lvosk: No such file or directory
/usr/bin/ld: cannot find -lvosk: No such file or directory
collect2: error: ld returned 1 exit status
I have carefully followed the installation and setup instructions outlined in the README, but I am still unable to overcome this issue. I believe that your expertise and guidance will be instrumental in troubleshooting and resolving this error.
Thank you in advance for your kind support and assistance in addressing this matter. I am looking forward to your prompt response.
I am currently working on building an example in Golang, following the instructions provided in the relevant README file. However, I have encountered an error and would greatly appreciate your assistance in resolving it.
The error I am facing is as follows: Input
output
I have carefully followed the installation and setup instructions outlined in the README, but I am still unable to overcome this issue. I believe that your expertise and guidance will be instrumental in troubleshooting and resolving this error.
Thank you in advance for your kind support and assistance in addressing this matter. I am looking forward to your prompt response.
@nshmyrev (https://github.com/alphacep/vosk-api/pull/1346