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

nix-shell fails on Big Sur #39

Open
evomimic opened this issue Jun 24, 2021 · 2 comments
Open

nix-shell fails on Big Sur #39

evomimic opened this issue Jun 24, 2021 · 2 comments

Comments

@evomimic
Copy link

I followed the setup instructions in the holochain gym and got as far as running nix-shell to do the initial build. It seemed to successfully compile a number of components, but ultimately failed while attempting the following:

**Compiling** holochain v0.0.100 (/private/tmp/nix-build-holochain.drv-0/source/crates/holochain)

**error****: linking with `/nix/store/47vpv5i10dwfg1cf5wca1k40f982g5fm-clang-wrapper-7.1.0/bin/cc` failed: exit code: 1**

...

= note: Undefined symbols for architecture x86_64:
            "_SecTrustEvaluateWithError", referenced from:
                security_framework::trust::SecTrust::evaluate_with_error::h8bf8a2b2bf458c1e in libsecurity_framework-1af3fbf49fb0538d.rlib(security_framework-1af3fbf49fb0538d.security_framework.belch8t2-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)
**error****: aborting due to previous error**
**error****:** could not compile `holochain`
To learn more, run the command again with --verbose.

builder for '/nix/store/3ssp2ljw2cwdx7yi7im34clkir2351y1-holochain.drv' failed with exit code 101

**error:** build of '/nix/store/3ssp2ljw2cwdx7yi7im34clkir2351y1-holochain.drv', '/nix/store/fjhlpp00ibz23pglm3bhw0b7mc10jgns-lair-keystore.drv', '/nix/store/rmya4j3sz9f3h134kzbg7hairabi869i-holochain.drv' failed

I’m running this on my MacBook Pro with MacOS Big Sur Version 11.4.

Any suggestions for getting past this would be appreciated!

@jost-s
Copy link
Contributor

jost-s commented Jul 8, 2021

@evomimic I'm experiencing the same on MacOS 11.5. You can follow the official installation guide to install the holochain developer tools.

@jost-s
Copy link
Contributor

jost-s commented Aug 8, 2021

@evomimic It runs fine with this repo's nix shell config now on macOS 11.5.1.

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