HI I’ve been googling for solutions, but non answers my problem,
im using Mac OS 10.13.5
root ROOT 5.34/25 (v5-34-25@v5-34-25, Jan 12 2015, 15:29:06 on macosx64)
python Python 2.7.10 (default, Oct 6 2017, 22:29:07)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin
i get this error;
‘>>> import ROOT
Traceback (most recent call last):
File “”, line 1, in
File “/Users/a/root/lib/ROOT.py”, line 103, in
import libPyROOT as _root
ImportError: dlopen(/Users/a/root/lib/libPyROOT.so, 2): Library not loaded: @rpath/libCore.so
Referenced from: /Users/a/root/lib/libPyROOT.so
Reason: image not found’
i tried;
-
‘export DYLD_LIBRARY_PATH=$ROOTSYS/lib:$DYLD_LIBRARY_PATH’
-
‘for i in /Users/a/root/lib/lib*so ; do install_name_tool -add_rpath /Users/a/root/lib/ $i done’
both didnt work,
can anyone help me with this!
thanks