pyROOT on Mac OS X Snow Leopard

From: federico roncarolo <federico.roncarolo_at_cern.ch>
Date: Fri, 30 Oct 2009 09:33:26 +0100


Hello,

I just installed Mac OS X 10.6 (Snow Leopard), python 2.6, gcc 4.2.1, and compiled ROOT 5.25/02 with architecture = macosx.

Exactely as in the post:

<http://root.cern.ch/phpBB2/viewtopic.php?p=39830&sid=7516d970f76e5ebde824f5a0a11dca03
>

when importing ROOT from python I get:

[imac]:-) > python
Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information.
>>> import ROOT

Traceback (most recent call last):

   File "<stdin>", line 1, in <module>
   File "lib/ROOT.py", line 86, in <module>      import libPyROOT as _root
ImportError: dlopen(/root/lib/root/libPyROOT.so, 2): no suitable image found. Did find:

        /root/lib/root/libPyROOT.so: mach-o, but wrong architecture

Is there a solution?
Should I compile another version of ROOT or of Python?

Many thanks,
Federico Received on Fri Oct 30 2009 - 09:33:32 CET

This archive was generated by hypermail 2.2.0 : Fri Oct 30 2009 - 11:50:02 CET