Hi Nicolas, As the first instruction of the function stress, you can add the following: //just in case an interactive version runs stress.cxx, check that //libEvent library is loaded if (!gROOT->GetClass("Event")) gSystem->Load("libEvent"); I have added this stement in the CVS version. Rene Brun Nicolas Arnaud wrote: > > Hello, > > I just started to use ROOT version 3.10/02 on linux and I don't fully succeed in running > the test program stress.cxx in root. > > I'm working with the ${ROOTSYS}/test/ directory copied in my own area. All files compile > well with gmake and I have no problem when I run stress interactively: the required > library libEvent.so is found as I have added "." in my LD_LIBRARY_PATH. > > On the other end, this library is not found when running stress in root and I get the > following message: > > Error in <TUnixSystem::DynamicPathName>: > $(ROOTSYS)/test/libEvent[.so | .sl | .dl | .a] does not exist in .:/root/lib:/root/lib > > where .:/root/lib:/root/lib is my LD_LIBRARY_PATH. > > It seems that root is looking for the library in the original test directory > ${ROOTSYS}/test and not in mine! Indeed, if I insert the line > .L libEvent.so > before running stress with .x stress.cxx(30), everything works well. > > Which setting did I miss? > > Thanks for your help, > > Nicolas
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET