https://linen.dev logo
Is cargo install shuttle supported on arm64 mac?
# help
m
When running the cargo install cargo-shuttle command, it sucessfully downloads and compiles a bunch of crates before getting this error:
Copy code
Compiling cargo-shuttle v0.7.2
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-arch" "arm64" "/var/folders/28/616hb5lj6fq1d2ntpr0dj5vh0000gn/T/rustcER5ivg/symbols.o" .... lots of lines of similar errors

... = note: ld: warning: ignoring file /usr/local/opt/openssl@1.1/lib/libcrypto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
          ld: warning: ignoring file /usr/local/opt/openssl@1.1/lib/libssl.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
          Undefined symbols for architecture arm64:
            "_EVP_cast5_cbc", referenced from:
                _libssh2_crypt_method_cast128_cbc in liblibssh2_sys-db6ee39dbb1dc4eb.rlib(crypt.o)
            "_EVP_aes_128_cbc", referenced from:
etc. This seems to imply a bunch of crates can't be built for arm64?
k
Hey DuskyMountain, welcome! At first glance, this looks a lot like this error: .