[ROOT] problem with Root library path

From: Franca Cassol-Brunner (cassol@cppm.in2p3.fr)
Date: Thu Apr 11 2002 - 12:24:42 MEST


Hello,

I have a problem of path for the dynamic link of Root libraries. 

It happens that my program crashes since 
libTree.so (version 3.02.07) links  libProof.so from the wrong directory
corresponding to an other version of Root (version 3.01.06, "pro").

Here is the output of the segmentation fault:

********************************************************* 
  
 dlopen error: /usr/local/root/pro/root/lib/libProof.so: undefined 
 symbol: Execut e__7TObjectPCcT1 Load Error: Failed to load Dynamic link 
 library /usr/local/root/pro/root/lib/lib Proof.so Note: File 
 "/usr/local/root/pro/root/lib/libProof.so" already loaded Error in 
 <TROOT::LoadClass>: library Proof already loaded, but class TProof unkn 
 own 
  
 Program received signal SIGSEGV, Segmentation fault. 
 [Switching to Thread 1024 (runnable)] 
 0x2c43b43f in TTree::BuildIndex () 
    from /usr/local/root/root_v3.02.07.Linux.egcs/root/lib/libTree.so 
  
******************************************************** 

My LD_LIBRARIES_PATH, PATH and ROOTSYS are pointing to
version 3.02.07. How can it happens that an other directory is used
for the link? How can I avoid it?

thanks and cheers

Franca Cassol Brunner




This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:49 MET