Hi,
I hope anyone can help me. You’ll see, I’ve installed pyroot on Ubuntu 11.04, previously I installed root.
When I do import ROOT everything is good, but when I try to do
from ROOT import TH2D I get this error:
Error in TUnixSystem::Load: version mismatch, /usr/local/lib/root/libGX11.so = 53101, ROOT = 51800
Error in TCint::AutoLoad: failure loading library libGX11.so for class TGX11
*** Break *** segmentation violation
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/pymodules/python2.7/ROOT.py”, line 340, in __getattr1
self.__finalSetup()
File “/usr/lib/pymodules/python2.7/ROOT.py”, line 390, in __finalSetup
if c.CreatePyROOTApplication():
SystemError: problem in C++; program state has been reset
if I only do import ROOT and then I do ROOT.TH2D(params)
I get:
dlopen error: libCore.so.5.31: cannot open shared object file: No such file or directory
Load Error: Failed to load Dynamic link library /usr/local/lib/root/libGX11.so
Error in TCint::AutoLoad: failure loading library libGX11.so for class TGX11
Error in TPluginHandler::SetupCallEnv: class TGX11 not found in plugin GX11
*** Interpreter error recovered ***
*** Break *** segmentation violation
Traceback (most recent call last):
File “/home/rponceaci4/Escritorio/Trabajo/Correlacion/des/curro/importante/ficheros_root_new/pasa_txt_root_otros_cat.py”, line 91, in
proporcion(fichero_entrada1,fichero_salida1,fichero_salida2,num_bin)
File “/home/rponceaci4/Escritorio/Trabajo/Correlacion/des/curro/importante/ficheros_root_new/pasa_txt_root_otros_cat.py”, line 18, in proporcion
muestra=ROOT.TFile(fichero_salida1, ‘RECREATE’)
File “/usr/lib/pymodules/python2.7/ROOT.py”, line 340, in __getattr1
self.__finalSetup()
File “/usr/lib/pymodules/python2.7/ROOT.py”, line 390, in __finalSetup
if c.CreatePyROOTApplication():
SystemError: problem in C++; program state has been reset
Well, I’ll be loking forward to any reply.
Thank you in advance.
Rafa