You did not read carefully the URL http://root.cern.ch/root/EnvVars.html Unix commands are case sensitive and you must respect the syntax. Assuming that you have installed root in directory myrootdir, do setenv ROOTSYS myrootdir set path=($path $ROOTSYS/bin) setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:$ROOTSYS/lib This must work in you use csh or equivalent shells. It is convenient to add these 3 lines to your shell startup script. Rene Brun joadicke wrote: > > Sorry to bother you yet again but here's what happens when I setenv. > I may not be doing it right and if so you could fill me in on my > errors. Here's a print out of my screen: > > >h2root > h2root: error while loading shared libraries: libCore.so: Cannot load > shared object file: No such file or directory > >Setenv LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib > Bad : modifier in $ ($) > >Setenv LD_LIBRARY_PATH=LD_LIBRARY_PATH:$ROOTSYS/lib > >h2root > h2root: error while loading shared libraries: libCore.so: Cannot load > shared object file: No such file or directory > >Set LD_LIBRARY_PATH=LD_LIBRARY_PATH:$ROOTSYS/lib > >h2root > h2root: error while loading shared libraries: libCore.so: Cannot load > shared object file: No such file or directory > > As I said I'm sorry to bother everyone again. I'm just getting > frustrated because I think I'm doing the right thing. or close to at > least. and it still isn't working. Well thanks again for your time. > > Jon > ------------------- > > Hi Jons, > > > > See: http://root.cern.ch/root/EnvVars.html > > > > Rene Brun > > > > On Wed, 18 Jul 2001, joadicke wrote: > > > > > This is probably a stupid question. I downloaded root the other > day. > > > I wanted to compare the power of root to that of paw. My problem > is > > > that I can't seem to set the library path right. The ROOTSYS path > > > seems to be set right. When I go to convert .hbook -> .root files > > > with h2root it gives an error ...unable to locate libCore.so... > and > > > won't do anything. The benchmark.C program ran with little or no > > > errors that I could tell so root is working but the extra programs > > > (that I need) are useless. I'm running Redhat 7.1 and using the > csh > > > shell. Thanks for any help from anyone. > > > > > > Jons > > > > > > >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:52 MET