EFForg/apkeep

having issues: ssl, cargo, etc.

wesley-tan opened this issue · 1 comments

Using the Rust and apkeep method, I repeatedly get the following error

error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/Users/wesleysimeontan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustl         _$LT$openssl..x509..X509VerifyResult$u20$as$u20$core..fmt..Display$GT$::fmt::hdfec200ca6d9b228 in libopenssl-2b7d39ae4fd85c04.rlib(openssl-2b7d39ae4fd85c04.openssl.ec35ac18-cgu.1.rcgu.o)
          ld: symbol(s) not found for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `apkeep` (bin "apkeep") due to previous error
error: failed to compile `apkeep v0.15.0`, intermediate artifacts can be found at `/var/folders/34/xy0sgrqd32qb38yhrd81b1280000gn/T/cargo-installisWUSj

Thus far, I've tried changing the SSL settings (e.g. brew install openssl) and changing the path (unset LC_ALL
unset PATH)

Now I get this

            "_X509_verify_cert_error_string", referenced from:
                _$LT$openssl..x509..X509VerifyResult$u20$as$u20$core..fmt..Debug$GT$::fmt::he87a0b9759ea09d1 in libopenssl-eb9edc21b8c93338.rlib(openssl-eb9edc21b8c93338.openssl.611f04cb-cgu.1.rcgu.o)
                _$LT$openssl..x509..X509VerifyResult$u20$as$u20$core..fmt..Display$GT$::fmt::hcd6e26ade2d7b95a in libopenssl-eb9edc21b8c93338.rlib(openssl-eb9edc21b8c93338.openssl.611f04cb-cgu.1.rcgu.o)
          ld: symbol(s) not found for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `apkeep` (bin "apkeep") due to previous error
error: failed to compile `apkeep v0.15.0`, intermediate artifacts can be found at `/var/folders/34/xy0sgrqd32qb38yhrd81b1280000gn/T/cargo-installkc4DGM`

Anyone facing similar errors, or know how to fix this?

Please try with the latest version and reopen if problem reoccurs.