Problem with PyROOT on Ubuntu 64 machine

Hi all,

I am struggling to get PyROOT working on my ubuntu 64bit laptop. When running the demo I get the following error:

python $ROOTSYS/tutorials/pyroot/demo.py
Traceback (most recent call last):
File “/opt/ROOT/v5-34-02/tutorials/pyroot/demo.py”, line 2, in
import ROOT
File “/opt/ROOT/v5-34-02/lib/ROOT.py”, line 85, in
import libPyROOT as _root
ImportError: /opt/ROOT/v5-34-02/lib/libNet.so: undefined symbol: _ZN8TAS3File11ShowMembersER16TMemberInspector

I configured root the following way before compiling:

./configure --enable-minuit2 --enable-table --enable-gdml --enable-pgsql --enable-rfio --enable-xml --enable-python --with-python-incdir=/usr/include/python2.7 --with-python-libdir=/usr/lib

and I compile with:

make LDFLAGS="-Wl,–no-as-needed"

Any help would be appreciated!

Cheers,

Sara

Hi,

AFAICT, TAS3File is no longer part of v5-34 (it is of v5-32). Do you have any older versions of ROOT installed?

Cheers,
Wim

Hi Wim,

Indeed I had an old v5-34-00-patches installed as well. After removing that and recompiling everything works.

Thanks!!

Cheers,

Sara