root shared object libraries on Linux

From: Carnes, Kevin <kdc_at_phys.ksu.edu>
Date: Mon, 22 Sep 2008 14:09:35 -0500


I installed Root 5.18 from source on two different Linux machines, one running Debian Sarge (kernel 2.4.27-2-686) and one running Debian Etch (kernel 2.6.18-6-686). Both versions seem to run fine. However, in another application, one that includes a Tcl interpreter, I need to load a shared object library that in turn uses a Root shared library. The Tcl application library is called librootfilterformat.so, and, from within the Tcl interpreter window, the command:

load librootfilterformat.so

produces the error message:

couldn't load file
"/usr/opt/spectcl/3.2-001/TclLibs/librootfilterformat.so": /usr/opt/root/lib/root/libTree.so: undefined symbol: _ZN4TKey6BrowseEP8TBrowser  

It choked on an undefined symbol in the Root library, and does that on either version of Linux. If I do the following on that library:  

nm -demangle libTree.so,  

I get lots of undefined symbols. Is this normal, and, if not, did I overlook something in the Root build from source?  

Thanks.  



Dr. Kevin Carnes
Associate Research Professor
Associate Director for Lab Operations
James R. Macdonald Laboratory
Kansas State University
kdc_at_phys.ksu.edu 785-532-2662    Received on Mon Sep 22 2008 - 21:09:47 CEST

This archive was generated by hypermail 2.2.0 : Mon Sep 22 2008 - 23:50:02 CEST