Dear ROOT expert:
I have added the configuration into .bashrc:
source /afs/cern.ch/sw/lcg/contrib/gcc/4.3/x86_64-slc5/setup.sh
source /afs/cern.ch/sw/lcg/app/releases/ROOT/5.27.04/x86_64-slc5-gcc43-opt/root/bin/thisroot.sh
export PATH=$ROOTSYS/bin:$PYTHONDIR/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$PYTHONDIR/lib:$LD_LIBRARY_PATH
export PYTHONPATH=$ROOTSYS/lib:$PYTHONPATH
But the following error still appeared:
[lxplus252] /afs/cern.ch/user/q/qing > python train.py
Traceback (most recent call last):
File “train.py”, line 1, in ?
from ROOT import *
File “/afs/cern.ch/sw/lcg/app/releases/ROOT/5.27.04/x86_64-slc5-gcc43-opt/root/lib/ROOT.py”, line 86, in ?
import libPyROOT as _root
ImportError: /afs/cern.ch/sw/lcg/app/releases/ROOT/5.27.04/x86_64-slc5-gcc43-opt/root/lib/libPyROOT.so: wrong ELF class: ELFCLASS64
Any idea on this?
Thanks,Gang