Error in installing ROOT on MacOS BigSur

Dear ROOT experts,

I have a problem with the latest ROOT binary version (ROOT v 6.22.08).

I downloaded the binary version from here:
https://root.cern/download/root_v6.22.08.macos-11.2-x86_64-clang120.tar.gz

and after that
eric@Erics-MBP ~ % source root/bin/thisroot.sh
eric@Erics-MBP ~ % root -l
warning: no such sysroot directory: ‘/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk’

*** Break *** segmentation violation

[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)

[] (no debug info)

[/Applications/root-6.22.08-binary/lib/libCling.6.22.08.so] (anonymous namespace)::RedirectingFileSystemParser::uniqueOverlayTree((anonymous namespace)::RedirectingFileSystem*, (anonymous namespace)::Entry*, (anonymous namespace)::Entry*) (no debug info)

[/Applications/root-6.22.08-binary/lib/libCling.6.22.08.so] (anonymous namespace)::RedirectingFileSystem::create(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_deletellvm::MemoryBuffer >, void ()(llvm::SMDiagnostic const&, void), llvm::StringRef, void*, llvm::IntrusiveRefCntPtrclang::vfs::FileSystem) (no debug info)

[/Applications/root-6.22.08-binary/lib/libCling.6.22.08.so] clang::vfs::getVFSFromYAML(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_deletellvm::MemoryBuffer >, void ()(llvm::SMDiagnostic const&, void), llvm::StringRef, void*, llvm::IntrusiveRefCntPtrclang::vfs::FileSystem) (no debug info)

[/Applications/root-6.22.08-binary/lib/libCling.6.22.08.so] (anonymous namespace)::createCIImpl(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_deletellvm::MemoryBuffer >, cling::CompilerOptions const&, char const*, std::__1::unique_ptr<clang::ASTConsumer, std::__1::default_deleteclang::ASTConsumer >, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&, bool, bool) (no debug info)

[/Applications/root-6.22.08-binary/lib/libCling.6.22.08.so] cling::CIFactory::createCI(llvm::StringRef, cling::InvocationOptions const&, char const*, std::__1::unique_ptr<clang::ASTConsumer, std::__1::default_deleteclang::ASTConsumer >, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&) (no debug info)

[/Applications/root-6.22.08-binary/lib/libCling.6.22.08.so] cling::IncrementalParser::IncrementalParser(cling::Interpreter*, char const*, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&) (no debug info)

[/Applications/root-6.22.08-binary/lib/libCling.6.22.08.so] cling::Interpreter::Interpreter(int, char const* const*, char const*, std::__1::vector<std::__1::shared_ptrclang::ModuleFileExtension, std::__1::allocator<std::__1::shared_ptrclang::ModuleFileExtension > > const&, bool, cling::Interpreter const*) (no debug info)

[/Applications/root-6.22.08-binary/lib/libCling.6.22.08.so] TCling::TCling(char const*, char const*, char const* const*) (no debug info)

[/Applications/root-6.22.08-binary/lib/libCling.6.22.08.so] CreateInterpreter (no debug info)

[/Applications/root-6.22.08-binary/lib/libCore.6.22.08.so] TROOT::InitInterpreter() (no debug info)

[/Applications/root-6.22.08-binary/lib/libCore.6.22.08.so] ROOT::Internal::GetROOT2() (no debug info)

[/Applications/root-6.22.08-binary/lib/libCore.6.22.08.so] TApplication::TApplication(char const*, int*, char**, void*, int) (no debug info)

[/Applications/root-6.22.08-binary/lib/libRint.6.22.08.so] TRint::TRint(char const*, int*, char**, void*, int, bool) (no debug info)

[/Applications/root-6.22.08-binary/bin/root.exe] main (no debug info)

[/usr/lib/system/libdyld.dylib] start (no debug info)

[] (no debug info)

Looking in that folder:

eric@Erics-MBP ~ % ls -lh /Library/Developer/CommandLineTools/SDKs
total 0
lrwxr-xr-x 1 root wheel 14B Mar 2 02:33 MacOSX.sdk → MacOSX11.1.sdk
drwxr-xr-x 8 root wheel 256B Jul 9 2020 MacOSX10.15.sdk
drwxr-xr-x 7 root wheel 224B Nov 30 13:33 MacOSX11.1.sdk

Cheers,
Eric

ROOT Version: 6.22.08
Platform: MacOs 11.2.2
Compiler: latest from XCode


1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.