ROOT and python2.4


I have experienced a problem with root and python2.4. After I have upgraded my debian system, I also changed from python2.3 to 2.4. When I now do

import ROOT,

I get

ImportError: cannot open shared object file: No such file or directory

Do I have to recompile ROOT or is this binding to the python2.3 library static?



python is only linked in statically, if no shared library can be found. Here, however, seems that it was properly linked with the shared library, just that the name that the has in its needed section is with full version number (which is usually exactly what one wants, because there may be subtle API changes, although there are none that I’m aware of between p2.3 and p2.4).

Recompiling will help, or downloading a later version of ROOT, since newer versions have been build against p2.4.2 (you probably have p2.4.3, but that’ll work fine).