MacOS: build error after 0.5.0
altunenes opened this issue · 4 comments
altunenes commented
FYI:
error: failed to run custom build command for `sherpa-rs-sys v0.5.0`
Caused by:
process didn't exit successfully: `/Users/enes/Desktop/whisper_test/target/debug/build/sherpa-rs-sys-5009514fe91242ca/build-script-build` (signal: 6, SIGABRT: process abort signal)
--- stderr
dyld[7708]: Library not loaded: @rpath/libbz2.1.dylib
Referenced from: <E30A5D48-C24E-330A-B396-72358B2448D0> /Users/enes/Desktop/whisper_test/target/debug/build/sherpa-rs-sys-5009514fe91242ca/build-script-build
Reason: tried: '/Users/enes/Desktop/whisper_test/target/debug/deps/libbz2.1.dylib' (no such file), '/Users/enes/Desktop/whisper_test/target/debug/libbz2.1.dylib' (no such file), '/Users/enes/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libbz2.1.dylib' (no such file), '/Users/enes/.rustup/toolchains/stable-aarch64-apple-darwin/lib/libbz2.1.dylib' (no such file), '/Users/enes/lib/libbz2.1.dylib' (no such file), '/usr/local/lib/libbz2.1.dylib' (no such file), '/usr/lib/libbz2.1.dylib' (no such file, not in dyld cache), '/Users/enes/Desktop/whisper_test/target/debug/build/ring-dc7c625d718228f9/out/libbz2.1.dylib' (no such file)
warning: build failed, waiting for other jobs to finish...
* The terminal process "cargo 'run', '--package', 'whispertest', '--bin', 'whispertest'" terminated with exit code: 101.
note that, the code I'm trying to execute is working in 0.4.1
thewh1teagle commented
Thanks for letting now :)
I can't reproduce it on aarch64
Do you have Intel or Apple chip?
altunenes commented
I have Apple: M3 Air. :-(
with latest OS updates
thewh1teagle commented
Looks related to tauri-apps/tauri#10983
It failed to link bzip2-rs. though, I don't know how it find it to me. I don't have bzip2 installed from HomeBrew.
I see that this crate has static feature. I enabled it by deafult.
Can you try again with newer version of sherpa?
sherpa-rs = "=0.5.1-beta.0"altunenes commented
wow, that's very interesting. :)
also, now it works
sherpa-rs = "=0.5.1-beta.0"