Hi Attilio, In your script, you do not set PATH. It looks like you are executing a version of h2root different of $ROOTSYS.bin/h2root. Replace the line: h2root $t1 by $ROOTSYS/bin/h2root $t1 Rene Brun On Mon, 30 Jun 2003, Attilio Santocchia wrote: > 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