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

Failed to link bzip on macOS aarch64 #106

Open
thewh1teagle opened this issue Oct 19, 2024 · 0 comments
Open

Failed to link bzip on macOS aarch64 #106

thewh1teagle opened this issue Oct 19, 2024 · 0 comments

Comments

@thewh1teagle
Copy link

thewh1teagle commented Oct 19, 2024

I use bzip2 crate in sherpa-rs and users report that it failed to compile with the error:

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

On some machines it works on aarch64, for instance for me. but for others it doesn't. Maybe related to macOS version.
Is there a workaround?
I see that you use static version of bzip so I guess it also compile it. any idea why it failed to link it?

Thanks

Related:
thewh1teagle/sherpa-rs#25
tauri-apps/tauri#10983

Btw. the issue fixed when enabled static feature. due is still be useful to use it dynamically.

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

1 participant