Home | News | Documentation | Download

Root v6-20-00-patches on Catalina 10.15.2

Hi,

So I’m trying to get ROOT setup on Catalina 10.15.2. But it keeps giving me the following error:

Linking CXX shared library …/…/lib/libNet.so
Undefined symbols for architecture x86_64:
“_OPENSSL_init_ssl”, referenced from:
TSSLSocket::WrapWithSSL() in TSSLSocket.cxx.o
“_TLS_method”, referenced from:
TSSLSocket::WrapWithSSL() in TSSLSocket.cxx.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [net/net/CMakeFiles/Net.dir/build.make:934: lib/libNet.so] Error 1
make[2]: Leaving directory ‘/usr/local/root/obj’
make[1]: *** [CMakeFiles/Makefile2:24487: net/net/CMakeFiles/Net.dir/all] Error 2
make[1]: Leaving directory ‘/usr/local/root/obj’
make: *** [Makefile:152: all] Error 2

Any help appreciated!


_ROOT Version: v6-20-00-patches from github (https://github.com/root-project/root/tree/v6-20-00-patches)
_Platform: Mac OS X Catalina 10.15.2
_Compiler: make/cmake (g++)

For Catalina, there are 6.20 pre-release binaries available. They will install ROOT under /Applications/root-$version. If you can use pre-built binaries, that might be the easiest way to get going.

Awesome, I’ll give it a shot - thanks!