We get
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Volumes/HDD2/ec/build/night/LABEL/mac1012/SPEC/noimt/build/lib/libNetxNG.so, 9): Library not loaded: libXrdUtils.2.dylib
Referenced from: /Volumes/HDD2/ec/build/night/LABEL/mac1012/SPEC/noimt/build/lib/libNetxNG.so
Reason: unsafe use of relative rpath libXrdUtils.2.dylib in /Volumes/HDD2/ec/build/night/LABEL/mac1012/SPEC/noimt/build/lib/libNetxNG.so with restricted binary
Error in <TInterpreter::TCling::AutoLoad>: failure loading library libNetxNG.so for TNetXNGSystem
on our Mac builds. That's caused by python loading a library (libNetxNG.so from ROOT) which depends on libXrdUtils.2.dylib
. otool
says:
otool -L lib/libNetxNG.so
lib/libNetxNG.so:
@rpath/libNetxNG.so (compatibility version 0.0.0, current version 0.0.0)
libXrdUtils.2.dylib (compatibility version 2.0.0, current version 2.0.0)
libXrdCl.2.dylib (compatibility version 2.0.0, current version 2.0.0)
@rpath/libNet.so (compatibility version 0.0.0, current version 0.0.0)
@rpath/libRIO.so (compatibility version 0.0.0, current version 0.0.0)
@rpath/libThread.so (compatibility version 0.0.0, current version 0.0.0)
@rpath/libCore.so (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.4)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1)
As you can see, the xrootd client libs don't have an RPATH set. I see no way of forcing one upon them; without, binaries in SIP-protected areas (like /usr/bin/python
) refuse to load the xrootd client libs.
Could RPATH be allowed as an option, or am I misunderstanding something here?
Cheers, Axel.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1