Unable to build a node on MacOS Monterey 12.3.1

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:

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?

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

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