Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using musl libc? #1980

Open
shyfishy opened this issue Mar 10, 2025 · 1 comment
Open

using musl libc? #1980

shyfishy opened this issue Mar 10, 2025 · 1 comment

Comments

@shyfishy
Copy link

shyfishy commented Mar 10, 2025

Hi, I'm trying to get the go-api-examples/real-time-speech-recognition-from-microphone example working, but I'm getting lots of compile errors, including for example:

/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /home/john/.local/share/go/pkg/mod/github.com/k2-fsa/sherpa-onnx-go-linux@v1.10.47/lib/x86_64-unknown-linux-gnu/libsherpa-onnx-c-api.so: undefined reference to `std::string::find_last_not_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4'

I'm running Alpine Linux which uses musl libc, which I think might be the issue. Does sherpa-onnx not work with musl?

@csukuangfj
Copy link
Collaborator

i suggest that you ask in the onnxruntime repo and see if there is a pre-built onnxruntime lib for that, If ues, we can support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants