Re: [ROOT] errors loading shared library

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jun 21 2000 - 17:26:53 MEST


Hi Stefano,
TVector3 is in libPhysics.so ,not loaded by default.
You should do:

  gSystem->Load("libPhysics");
  gSystem->Load("libFDSim.so");

Rene Brun

Stefano Argiro' wrote:
> 
> Hi Rooters,
> 
> I have a Debian linux and compiled Root with "configure linuxdeb2".
> 
> For my stuff, I am using essentialy the Makefile.linux_egcs of ATLfast,
> so things should be ok with compiler options.
> 
> My program runs OK in standalone with dynamic link.
> When trying , in Root, gSystem->Load("libFDSim.so")
> 
> I get  the error :
> ****************************************************************
> dlopen error: /home/argiro/FDSim++/./libFDSim.so: undefined symbol:
>  __vt_8TVector2
> 
> Load Error: Dynamic link library /home/argiro/FDSim++/./libFDSim.so can
> not load (int)(-1)
> ****************************************************************
> 
> I also tried using the options -g -O2 -Wall -fPIC -DR__GLIBC that I see
> while Root is compiling.
> Any hint ?
> 
> Thanks
>                 Stefano
> 
> PS: btw, TVector3 is also used, but gives no error



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:28 MET