Hi, I'm trying to turn a working root macro into a compiled executable. It compliles fine, but I am receiving some 'undefined symbol' errors when dynamically linking libTreePlayer.so during execution. Here is the error output: ------------------ $ ./get_av_ped ../chopped/crate5.root outfile2.root dlopen error: /usr/local/cern/root/lib/libTreePlayer.so: undefined symbol: Copy__8TFormulaR7TObject Load Error: Failed to load Dynamic link library /usr/local/cern/root/lib/libTreePlayer.so Error in <TFile::TFile>: file crate5.root does not exist dlopen error: /usr/local/cern/root/lib/libGpad.so: undefined symbol: __ti10TPaveLabel Load Error: Failed to load Dynamic link library /usr/local/cern/root/lib/libGpad.so *** Break *** segmentation violation Aborted (core dumped) ------------------- If it helps, I am using root v3.01.06, and here is the compile line: $ g++ -Wall K2RTree.C GetAvPedestal.cc -o get_av_ped -I/usr/local/cern/root_v3.01.06/include -I. -L/usr/local/cern/root_v3.01.06/lib -lTree -lCore -lCint -ldl (Compiles without problem) Thanks, Dan Dwyer
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:43 MET