I've recently installed root on a system running Mac OS X 10.8
In pasting the error on StackOverflow, I've replaced my home folder title with a xyzzy
to protect my name.
When attempting to import ROOT
while in a python interactive mode, I get:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/xyzzy/Documents/Code/root/lib/ROOT.py", line 103, in <module>
import libPyROOT as _root
ImportError: dlopen(/Users/xyzzy/Documents/Code/root/lib/libPyROOT.so, 2):
Symbol not found: ___sincos_stret
Referenced from: /Users/xyzzy/Documents/Code/root/lib/libMathCore.so
Expected in: /usr/lib/libSystem.B.dylib
in /Users/xyzzy/Documents/Code/root/lib/libMathCore.so
Does anyone know what could be causing this error? ROOT was installed with MacPorts.
The comment by Adam to the original post describes the issue. I had to upgrade to OS X 10.9 in order to install ROOT, as it was compiled against OS X 10.9.