Skip to content

Failed to link bzip on macOS aarch64 #106

@thewh1teagle

Description

@thewh1teagle

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions