You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After fixing 1 by adding a link in $ROOTSYS/lib, DarwinFoundation.pcm is not found
Details of the first issue
Error:
Fatal in <TROOT::InitInterpreter>: cannot load library dlopen(/Users/pgras/root/lib/libCling.so, 0x0005): Library not loaded: /opt/local/lib/libzstd.1.dylib
Referenced from: <899F4988-A8F7-3529-8A9B-B0EF2C47FED6> /Users/pgras/root/lib/libCling.so
Reason: tried: '/Users/pgras/root/lib/libzstd.1.dylib' (no such file), '/opt/local/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libzstd.1.dylib' (no such file), '/opt/local/lib/libzstd.1.dylib' (no such file)
input_line_1:1:2: fatal error: module file '/Users/sftnight/ROOT-CI/build/lib/DarwinFoundation.pcm' not found: module file not found
#include <new>
^
input_line_1:1:2: note: imported by module 'std' in '/Users/pgras/root/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: ''
<<< cling interactive line includer >>>: fatal error: module file '/Users/sftnight/ROOT-CI/build/lib/DarwinFoundation.pcm' not found: module file not found
<<< cling interactive line includer >>>: note: imported by module 'Darwin' in '/Users/pgras/root/lib/Darwin.pcm'
Failed to load module Darwin
Failed to load module std
[...]
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/Users/pgras/root/lib/libCling.so] clang::Lexer::LexTokenInternal(clang::Token&, bool) (no debug info)
[/Users/pgras/root/lib/libCling.so] clang::Lexer::LexTokenInternal(clang::Token&, bool) (no debug info)
[/Users/pgras/root/lib/libCling.so] clang::Preprocessor::Lex(clang::Token&) (no debug info)
[/Users/pgras/root/lib/libCling.so] clang::Parser::ConsumeAnyToken(bool) (no debug info)
[...]
Environement
Darwin Kernel Version 24.1.0: Thu Oct 10 21:05:14 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8103 arm64
> sw_vers
ProductName: macOS
ProductVersion: 15.1
BuildVersion: 24B83
Reproducer
mkdir test; cd test
curl https://root.cern/download/root_v6.32.08.macos-15.1-arm64-clang160.tar.gz | tar xzf -
source root/bin/thisroot.sh
root
>>>> Error of the First issue
ln -s /opt/homebrew/Cellar/zstd/1.5.6/lib/libzstd.1.dylib . #first path to adapt to system
root
>>> Error of the second issue
Check duplicate issues.
Description
Summary
With root from https://root.cern/download/root_v6.32.06.macos-15.0-arm64-clang160.tar.gz and https://root.cern/download/root_v6.32.08.macos-15.1-arm64-clang160.tar.gz, I get two isues:
Details of the first issue
Error:
Found workaround (found with Pere's help):
ln -s /opt/homebrew/Cellar/zstd/1.5.6/lib/libzstd.1.dylib .
Details of the second issue
Error:
Environement
Reproducer
ROOT version
6.32.06 and 6.32.08
Installation method
tarball
Operating system
MacOS
Additional context
cc: @peremato @dpiparo
The text was updated successfully, but these errors were encountered: