ROOT and python2.4

Hi,

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: libpython2.3.so.1.0: 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?

Thanks
Duc

Duc,

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 libPyROOT.so 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).

Cheers,
Wim