Hi, I guess the environment variable to set is $LD_LIBRARY_PATH and not $PATH at least this is valid for Li cheers, Michael On Wed, 16 Jan 2002, Pere Mato wrote: > Hello, > > I am trying to load standard ROOT libraries within a C++ module using the > method TSystem::Load(). I seems that it works only if I put the full path > where the library is. If I use only the library name it generates an "access > violation" even if I have in the PATH the location where the libraries are. > > gSystem->Load("libHist") // Access violation! > gSystem->Load("S:/sw/ROOT/v3.01/nt4/root/bin/libHist.dll") // Works!! > > Any explanation? > > Pere > > ------------------------------------------------------------ > Pere Mato CERN, EP Division, CH 1211 Geneva 23, Switzerland > e-mail: Pere.Mato@cern.ch tel: +41 22 76 78696 > fax: +41 22 76 79425 gsm: +41 79 20 10855 > > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:38 MET