pyROOT on AFS for ROOT 5.27

From: Marco Zanetti <Marco.Zanetti_at_cern.ch>
Date: Wed, 4 Aug 2010 16:57:10 +0200


Hello,

I'm trying to use pyROOT with a(ny) recent version of ROOT (>5.22) on AFS. I set ROOT in the suggested way by sourcing:

. /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5/setup.sh . /afs/cern.ch/sw/lcg/app/releases/ROOT/5.27.04/x86_64-slc5-gcc43-opt/root/bin/thisroot.sh

and then I try to run ROOT from a python interpreter (2.6 in the case below, but the result is the same for 2.4 and 2.5), without success:

lxplus245:~$ python26
Python 2.6.5 (r265:79063, Apr 9 2010, 11:16:46) [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
>>> from ROOT import TCanvas

Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/afs/cern.ch/sw/lcg/app/releases/ROOT/5.27.04/x86_64-slc5-gcc43-opt/root/lib/ROOT.py", line 86, in <module>

   import libPyROOT as _root
ImportError: libpython2.5.so: cannot open shared object file: No such file or directory

any suggestions?

Marco Received on Wed Aug 04 2010 - 16:57:15 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 04 2010 - 23:50:01 CEST