Opened 17 years ago
Last modified 17 years ago
#57 closed defect (duplicate)
libPyROOT on a mac not loading in python properly
Reported by: | Erik Blaufuss | Owned by: | troy |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | cmake | Keywords: | |
Cc: |
Description
trying to import libPyROOT on a mac gives issues:
(root-v5.10.00)
blaufuss@teufel[~/..work/V01-11-02/build]% ./env-shell.sh
blaufuss@teufel[~/..work/V01-11-02/build](I3)% python
Python 2.3.5 (#1, Jun 9 2007, 18:47:11)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
from libPyROOT import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError?: Inappropriate file type for dynamic loading
This seems to work fine on Linux*
This thread seems to indicate that this is a python/root linking issue:
http://root.cern.ch/phpBB2/viewtopic.php?p=13401&sid=17c3a761d528ae2926c35f1f6b0afc4d
--Erik