I am running the svn trunk version of root (I need some features that are not in stable) on a SLC5 machine, compiled against the LHCb software (python). Everything was fine until some days ago, when the python version was changed: PyROOT stopped working, which was something one could expect. Upon updating the svn version (now I have rev 36052) I configure and compile, and I get the following error when importing ROOT:
apuig@lhcb19:/data/lhcb19/a/apuig/soft/root/lib$ python
Python 2.5.4 (r254:67916, Oct 8 2009, 11:24:58)
[GCC 4.3.2] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
from ROOT import *
Traceback (most recent call last):
File “”, line 1, in
File “ROOT.py”, line 85, in
import libPyROOT as _root
ImportError: ./libPyROOT.so: undefined symbol: _ZN7TObject11ShowMembersER16TMemberInspector
I tried to use the precompiled binaries but they aren’t working either (not surprising, since they are not compiled agains the LHCb python). Any ideas on what I have been doing wrong?
Please post python related problems to the dedicated thread at the forum and put it with the right title, not something like “Compilation problems with the trunk”.
Did you discuss this problem with your LHCb colleagues? my guess is that they moved to python2.6 and you use 2.5!
[quote=“brun”]Please post python related problems to the dedicated thread at the forum and put it with the right title, not something like “Compilation problems with the trunk”.
Did you discuss this problem with your LHCb colleagues? my guess is that they moved to python2.6 and you use 2.5!
Rene[/quote]
Hi Rene,
I would think that a problem that arises when compiling ROOT would go into ROOT support, even if it’s PyROOT related, but if this is not the correct forum could you please move the topic to avoid double-posting (and thus spamming of 2 forums)?
As for the LHCb software, I don’t think it has anything to do with the problem, since the software provides a fulll Python installation and I simply configure ROOT with that installation as the lib dir for PyROOT. Therefore, even if they changed to python 2.6 (which they haven’t) the configure picks up the correct lib files.
looks to me like the code is picking up the trunk version of libPyROOT (through PYTHONPATH), but an older version of ROOT (from the LHCb installation?) through LD_LIBRARY_PATH. Could you check those first?
The missing symbol: $ echo _ZN7TObject11ShowMembersER16TMemberInspector | c++filt
TObject::ShowMembers(TMemberInspector&)exists only in ROOT v5.27/06 and up.
looks to me like the code is picking up the trunk version of libPyROOT (through PYTHONPATH), but an older version of ROOT (from the LHCb installation?) through LD_LIBRARY_PATH. Could you check those first?