Hi, I have ROOT 6.22/08, it has been working fine on macos Big Sur, now I updated to Monterey, updated Xcode, I had to install again the command line tools and now when I am running ROOT I get:
Mareks-MacBook:~ marekwalczak$ root Desktop/test_mid.root
input_line_1:1:2: error: module 'Darwin' uses additional module map '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine.modulemap' used when the module was built
#include <new>
^
input_line_1:1:2: note: imported by module 'std' in '/usr/local/Cellar/root/6.22.08_2/lib/root/std.pcm'
Warning in cling::IncrementalParser::CheckABICompatibility():
Failed to extract C++ standard library version.
Warning in cling::IncrementalParser::CheckABICompatibility():
Possible C++ standard library mismatch, compiled with _LIBCPP_ABI_VERSION '1'
Extraction of runtime standard library version was: ''
input_line_2:1:2: error: module 'Darwin' uses additional module map '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/machine.modulemap' used when the module was built
#include "cling/Interpreter/RuntimeUniverse.h"
^
input_line_2:1:2: note: imported by module 'std' in '/usr/local/Cellar/root/6.22.08_2/lib/root/std.pcm'
input_line_2:1:2: note: imported by module 'Cling_Runtime' in '/usr/local/Cellar/root/6.22.08_2/lib/root/Cling_Runtime.pcm'
Failed to load module std
Failed to load module std
Failed to load module Cling_Runtime
------------------------------------------------------------------
| Welcome to ROOT 6.22/08 https://root.cern |
| (c) 1995-2020, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for macosx64 on Mar 10 2021, 14:20:04 |
| From tags/v6-22-08@v6-22-08 |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
root [0]
Attaching file Desktop/test_mid.root as _file0...
IncrementalExecutor::executeFunction: symbol '_ZN5cling7runtime6gClingE' unresolved while linking function '_GLOBAL__sub_I_cling_module_11'!
You are probably missing the definition of cling::runtime::gCling
Maybe you need to load the corresponding shared library?
*** Break *** segmentation violation
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] TUnixSystem::DispatchSignals(ESignals) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] SigHandler(ESignals) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] sighandler(int) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] textinput::TerminalConfigUnix::HandleSignal(int) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] (anonymous namespace)::TerminalConfigUnix__handleSignal(int) (no debug info)
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[<unknown binary>] (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] cling::Interpreter::getCI() const (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] cling::Value::getASTContext() const (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] cling::valuePrinterInternal::printTypeInternal(cling::Value const&) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] cling::Value::print(llvm::raw_ostream&, bool) const (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] cling::Value::dump(bool) const (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] (anonymous namespace)::dumpIfNoStorage(void*, char) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] cling::runtime::internal::setValueNoAlloc(void*, void*, void*, char, void const*) (no debug info)
[<unknown binary>] (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] cling::IncrementalExecutor::executeWrapper(llvm::StringRef, cling::Value*) const (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] cling::Interpreter::RunFunction(clang::FunctionDecl const*, cling::Value*) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] cling::Interpreter::EvaluateInternal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, cling::CompilationOptions, cling::Value*, cling::Transaction**, unsigned long) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] cling::Interpreter::process(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, cling::Value*, cling::Transaction**, bool) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] cling::MetaProcessor::process(llvm::StringRef, cling::Interpreter::CompilationResult&, cling::Value*, bool) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] HandleInterpreterException(cling::MetaProcessor*, char const*, cling::Interpreter::CompilationResult&, cling::Value*) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCling.so] TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libCore.so] TApplication::ProcessLine(char const*, bool, int*) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libRint.so] TRint::ProcessLineNr(char const*, char const*, int*) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/lib/root/libRint.so] TRint::Run(bool) (no debug info)
[/usr/local/Cellar/root/6.22.08_2/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)
Root >
what else do I need to do to make my root work again?
Thanks!
Marek
Please read tips for efficient and successful posting and posting code
_ROOT Version: 6.22/08
_Platform: Monterey
Compiler: Not Provided