Re: [ROOT] Libraries

From: Rolf Dubitzky (dubitzky@pktw16.phy.tu-dresden.de)
Date: Fri Apr 14 2000 - 20:31:37 MEST


Hi Ingo,

On Fri, 14 Apr 2000, Ingo Strauch wrote:

> Is there a way to 'look' at all symbols in a shared library? If not: somebody
> must have built that library and she could tell me what she has put in it...

Yes, there is. For your specific example try: (if you are on unix)

  nm -o lib/lib*.so | grep LockGuard

from your ROOTSYS directory.
The output:
 lib/libThread.so:0001b6a0 T Class_Version__10TLockGuard
 lib/libThread.so:0001ba4c T Class__10TLockGuard
 [...]

lets you guess which library to load. But this is not a perfect solution,
I know. Why doesn't ROOT know about his "own" classes, and where to find
them? (e.g. in order to load libTreePlayer, I need to load libProof
first. That could be automated.)

Cheers,
Rolf

********************************************************************
 Rolf Dubitzky                                  * presently at SLAC: 
 e-mail: Rolf.Dubitzky@Physik.TU-Dresden.de     * M.S. 41        
 office DD: Inst. fuer Kern- und Teilchenphysik * Bld. 280A / 173  
   Zellescher Weg 19  / D-01069 Dresden         * Ext: 2892      
********************************************************************



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