after running this command : ./zcutil/clean.sh
./zcutil/build.sh -j$(sysctl -n hw.ncpu).
i get the following:
(copied the end of it as its super long)
LoadProofParameters() in zcash_gtest-utils.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [zcash-gtest] Error 1
Finished release [optimized] target(s) in 5m 11s
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
made the config file here:
xxx@xxx zcash % mkdir -p ~/.zcash
touch ~/.zcash/zcash.conf
Then after ran this and got the following:
xxxx@xxx zcash % ./src/zcashd
zsh: no such file or directory: ./src/zcashd
Anyone have any idea whats wrong?
1 Like
Looks like you’re building on an arm chip, maybe an M1?
See if you can find some leads here, looks like there is a 5.0.0 build that worked for some ppl:
Hello all,
I was wondering if somebody could help me with the building of zcashd on an odroid C2 running armbian.
I couldn’t get the following dependency to be installed : “g++-multilib”.
When starting the process as described in the documentation, I’m stuck with the following:
error: toolset gcc initialization:
error: provided command 'aarch64-unknown-linux-gnu-g++' not found
error: initialized from /mnt/usbdrive/zcash/depends/work/build/aarch64-unknown-linux-gnu/boost/1_66_0-6ca30f54347/…
3 Likes
Yes its M1, thank you my friend Ill take a look and keep trying.
2 Likes
Still unable to get this running…
If I attempted this on a Virtual Machine on the same Mac I would still run into this same issue correct?
skyl
June 29, 2022, 1:37am
5
From what I understand, yes; even with virtualization and containerization the M1 has the same quirks even if you are trying to say build on debian in docker …
1 Like
hanh
June 29, 2022, 8:35am
6
aarch64 is not supported by the build system under Darwin/M1. However you can easily build for Rosetta.
arch -x86_64 zcutil/build.sh
1 Like
is it possible to build on the latest Macs? Has anyone had any success with this yet??.. I am thinking about giving it another go.
1 Like