I’m trying to get Pyroot to work on linux OpenSuse. I have installed python2.7 and then root with python enabled, and providing paths to python include and lib folders.
It generates libPyROOT, however I am getting the following undefined symbol error, when trying to import ROOT:
from ROOT import TCanvas, TFile, TProfile, TNtuple, TH1F, TH2F, TGraph, TF1, TText
File "/home/pet/Natalia/root/root/lib/ROOT.py", line 103, in <module>
import libPyROOT as _root
ImportError: /home/pet/Natalia/root/root/lib/libPyROOT.so: undefined symbol: _ZN15TClassGenerator11ShowMembersER16TMemberInspector
I have tried to recompile root, but still getting the same error. Anyone knows how to fix this?