[ROOT] h2root and script Problem

From: Attilio Santocchia (attilio.santocchia@pg.infn.it)
Date: Mon Jun 30 2003 - 19:38:19 MEST


Hello,
I need to process a big number of n-tupla with the h2root command. I tried
something like h2root t*.ntpl to process t1.ntpl, t2.ntpl etc... but no
success.

Then I tried to write a simple script but I got a problem: if I try to run
these 3 lines from a script:

#! /bin/tcsh
set t1 = "t1.ntpl"
h2root $t1

I got the following error:
 RZOPEN. Cannot determine record length -  EXCHANGE mode is used.
h2root: error in loading shared libraries: h2root: undefined symbol:
Open__5TFilePCcN21ii


I tought that I need to provide a path for libraries, so I changed to:
#! /bin/tcsh
set LD_LIBRARY_PATH = $ROOTSYS/lib
echo $LD_LIBRARY_PATH
set t1 = "t1.ntpl"
h2root $t1

but the error is the same:
/usr/local/root/lib
 RZOPEN. Cannot determine record length -  EXCHANGE mode is used.
h2root: error in loading shared libraries: h2root: undefined symbol:
Open__5TFilePCcN21ii

I forgot to tell that if I'm trying to run h2root from the command line
manually everything goes right...

Any suggestion?

Attilio



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET