[ROOT] Problem in running stress.cxx in ROOT

From: Nicolas Arnaud (narnaud@lal.in2p3.fr)
Date: Tue Jan 06 2004 - 16:42:47 MET


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,


This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET