Home | News | Documentation | Download

Building ROOT on macOS Catalina (10.15.3)

Dear ROOTers,

I’m trying to build ROOT from source on the latest version of macOS, but I’m running into some issues (I see that there are a few posts on this topic, but the reported errors appear different and their solutions don’t seem to work for me).

I’ve tried ROOT version 6.18.04 as well as the master branch on GitHub – in both cases the build with cmake fails after a certain point, with this error message:

[ 56%] Built target G__Net
[ 56%] Linking CXX shared library …/…/lib/libNet.so
ld: cannot link directly with dylib/framework, your binary is not an allowed client of /usr/lib/libcrypto.dylib for architecture x86_64

The binary provided by Axel @ (Root catalina bug report) does work – however it would be great to be able to build things from source, for linking external libraries, Python3 etc.

ROOT Version: 6.19 (GitHub master, hash is 63f5742)
Platform: macOS Catalina (10.15.3)
Compiler: Apple clang version 11.0.0


I am not sure if disabling SIP will help here. Did you try to build with disabled SIP (System Integrity Protection)? @Axel do you know if it will help?

Oksana.

Please don’t disable SIP.

I don’t know why the build fails. Can you post the complete output of make VERBOSE=1?

Cheers, Axel

Hi Oksana & Axel,

Thanks for the quick responses! I’ve attached the full output of make VERBOSE=1 in a plaintext file.
root_make_error.txt (270.0 KB)