-
Notifications
You must be signed in to change notification settings - Fork 1.5k
RPATH does not match linked lib when building ROOT with system Python3 on MacOS(11,12) #9793
Copy link
Copy link
Closed
Description
An attempt to build ROOT against the system Python3 on MacOS11/12 results in a build with no errors, but with some test failures:
The following is the relevant error:
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/sftnight/build/jenkins/night/LABEL/mac12/SPEC/soversion/V/master/build/lib/libROOTTPython.6.25.02.so, 0x0009): Library not loaded: @rpath/Python3.framework/Versions/3.8/Python3
According to:
$ otool -l lib/libROOTTPython.so | grep -C2 Python3
cmd LC_LOAD_DYLIB
cmdsize 72
name @rpath/Python3.framework/Versions/3.8/Python3 (offset 24)
time stamp 2 Thu Jan 1 01:00:02 1970
current version 3.8.0
--
cmd LC_RPATH
cmdsize 104
path /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib (offset 12)
Load command 20
cmd LC_FUNCTION_STARTS
RPATH is set, but the dylib load directive doesn't match.
Reactions are currently unavailable