Error importing ROOT in linux

I installed root via the linux binaries (I’m running Fedora 10 on x86-64). Root itself seems to be working fine, but when I try to import ROOT libraries in python I get the error message:

from ROOT import TROOT
Traceback (most recent call last):
File “”, line 1, in
File “/home/root/lib/ROOT.py”, line 86, in
import libPyROOT as _root
ImportError: libpython2.5.so: cannot open shared object file: No such file or directory

It appears to be looking for python 2.5 libraries. I have libpython2.6.so in /usr/lib64 but even if I put this in LD_LIBRARY_PATH it still looks for libpython2.5.so. Any thoughts? Thanks.

Hi,

You will either need to install python 2.5 or recompile ROOT on your system.

Cheers,
Philippe.