Hello,
I am making a Geant4 program that will export its results into ROOT format, and I am having trouble with an error that I can’t figure out how to fix.
I’ve narrowed the problem down to any of the five lines of code in my program, which are in the header file of my class that effectively saves the Geant4 results in ROOT format. Here are the lines:
#include “TROOT.h”
#include “TFile.h”
#include “TH1.h”
#include “TF1.h”
#include “TSystem.h”
Each one of these (individually) gives me the error (if I comment out all except any one of them I still get the error):
./my_program: symbol lookup error: ~/geant4/tmp/Linux-g++/my_program/libmy_program.so: undefined symbol: _ZN13TVersionCheckC1Ei
The program (a test program right now) is in the my_program directory and is called my_program.
I am running Ubuntu 11.04, and I installed ROOT and Geant4 a few weeks ago and both have been working correctly with the exception of this.
I tried googling it of course and found [url]“symbol lookup error” when running root 5.20 but I either couldn’t figure it out or it didn’t work.
Let me know if you need any more info.
Thanks in advance!
Jason