alexcrichton / openssl-src-rs

Source code and logic to build OpenSSL from source
Apache License 2.0
68 stars 113 forks source link

Unable to build on aarch64-apple-darwin #134

Open jkcoxson opened 2 years ago

jkcoxson commented 2 years ago

I am encountering issues with the archiver that ships with brew, it throws this error:

  ar: warning: creating apps/libapps.a
  ranlib: error: Invalid option: '-c'
  ar: warning: creating libcrypto.a
  ar: warning: creating libssl.a
  ranlib: error: Invalid option: '-c'ranlib
  : error: Invalid option: '-c'
  ranlib: error: Invalid option: '-c'
  make: *** [install_dev] Error 1
  thread 'main' panicked at '

  Error installing OpenSSL:
      Command: "make" "install_dev"
      Exit status: exit status: 2

      ', /Users/jacksoncoxson/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-src-111.18.0+1.1.1n/src/lib.rs:479:13

I am on the latest MacOS, M1 Air. rustc version 1.59.0

ranlib/ar version Homebrew LLVM version 13.0.1 This works correctly for cross compiling to other targets, but building natively fails.