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

[Holochain developer tools installation] Build fails on MacOS Big Sur #43

Closed
jost-s opened this issue Jul 6, 2021 · 3 comments
Closed

Comments

@jost-s
Copy link
Contributor

jost-s commented Jul 6, 2021

When running nix-shell in the folder developer-exercises, the build fails with an error when compiling holochain itself.

That error is recorded here in the holonix repo https://github.com/holochain/holonix/issues/211. It's resolved in the current build, so nix-shell https://nightly.holochain.love as described in the official docs works fine.

I suppose it's a matter of updating default.nix or mentioning in "Requirements -> Setup" that for MacOS 11 another version is needed.

@guillemcordoba
Copy link
Contributor

Okey so that is interesting... In theory we are in the latest holonix version. Are you trying to enter the nix-shell with the latest version of the repo?

Any ideas @steveej?

@jost-s
Copy link
Contributor Author

jost-s commented Jul 8, 2021

Yes, I have pulled most recent sources. The latest commit is from 29th of June.

The exact error I'm getting is

   Compiling holochain_cascade v0.0.1 (/private/tmp/nix-build-holochain.drv-0/source/crates/holochain_cascade)
   Compiling holochain_conductor_api v0.0.1 (/private/tmp/nix-build-holochain.drv-0/source/crates/holochain_conductor_api)
   Compiling holochain v0.0.100 (/private/tmp/nix-build-holochain.drv-0/source/crates/holochain)
error: linking with `/nix/store/9qiazds7s6qqmkqhvqgrygz74x7bvqhm-clang-wrapper-7.1.0/bin/cc` failed: exit status: 1
  |
  = note: "/nix/store/9qiazds7s6qqmkqhvqgrygz74x7bvqhm-clang-wrapper-7.1.0/bin/cc" "-m64" "-arch" "x86_64" "-L"
  ...
  ...
  ...
  = note: Undefined symbols for architecture x86_64:
            "_SecTrustEvaluateWithError", referenced from:
                security_framework::trust::SecTrust::evaluate_with_error::h95d9d1bb922a119c in libsecurity_framework-b6c26af130303a68.rlib(security_framework-b6c26af130303a68.security_framework.d08qfjc9-cgu.15.rcgu.o)
          ld: symbol(s) not found for architecture x86_64
          clang-7: error: linker command failed with exit code 1 (use -v to see invocation)

@jost-s
Copy link
Contributor Author

jost-s commented Jul 8, 2021

Sorry, I realize now that this is duplicate and in the wrong repo.

Duplicate of holochain-gym/developer-exercises#39

@jost-s jost-s closed this as completed Aug 6, 2021
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

2 participants