Error installing root with CONDA under MacOS 12.4

Dear all,

I am trying to install ROOT 6.26.2 via CONDA, as described in the installation instructions on root.cern.ch . The installation terminates correctly but calling root in the new environment fails:

“input_line_1:1:2: error: module ‘Darwin’ uses additional module map
‘/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/netinet.modulemap’
used when the module was built
#include
^
input_line_1:1:2: note: imported by module ‘std’ in ‘/Users/adamwo/opt/miniconda3/envs/my_root_env/lib/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: fatal error: module file ‘/Users/adamwo/opt/miniconda3/envs/my_root_env/lib/std.pcm’ is out of date and needs to be rebuilt
#include “cling/Interpreter/RuntimeUniverse.h”
^
input_line_2:1:2: note: imported by module ‘Cling_Runtime_Extra’ in ‘/Users/adamwo/opt/miniconda3/envs/my_root_env/lib/Cling_Runtime_Extra.pcm’
input_line_2:1:2: note: imported by module ‘Cling_Runtime’ in ‘/Users/adamwo/opt/miniconda3/envs/my_root_env/lib/Cling_Runtime.pcm’
Replaced symbol atexit cannot be found in JIT!
Replaced symbol at_quick_exit cannot be found in JIT!
<<< cling interactive line includer >>>: fatal error: module file ‘/Users/adamwo/opt/miniconda3/envs/my_root_env/lib/Darwin.pcm’ is out of date and needs to be rebuilt
Failed to load module Darwin
Failed to load module std
Failed to load module _Builtin_intrinsics
Failed to load module ROOT_Foundation_C
Failed to load module ROOT_Config
…”

ROOT Version: 6.26.2
Platform: MacOS 12.4, Dual-Core Intel Core i5, Xcode 13.4

Inside the Conda environment I see

% which root
/Users//opt/miniconda3/envs/my_root_env/bin/root
% clang --version
clang version 13.0.1
Target: x86_64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Users//opt/miniconda3/envs/my_root_env/bin

Any hint on how to solve the issue would be greatly appreciated.

Thanks,
Wolfgang

Retried with the updated CONDA package - now the installation worked.

  • Wolfgang
1 Like

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