Re: [ROOT] shared library

From: Tim Welters (welters@physik.rwth-aachen.de)
Date: Thu Sep 14 2000 - 17:45:16 MEST


Hi Lars,

which system do you use?
You have to append your root library directory to the environment variable containing 
the dynamic link library search path (e.g. "LD_LIBRARY_PATH").
e.g. for the csh on my system (OSF1)

  setenv ROOTSYS /usr/local/root
  set path=($path $ROOTSYS/bin)
  setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${ROOTSYS}/lib

see also the "INSTALL" file in the root system directory

Tim

lars.dietrich@vlfbox.de wrote:
> 
> If I try to execute a program, which I have compiled (without any problems), for example "guitest" in the test directory, I get the error message:
> "guitest: error in loading shared libraries: libNew.so: cannot open shared object file: No such file or diretory"
> Can you please instruct me what to do?
> Thank's, Lars

-- 
------------------------------------------------------------------------
Tim Welters, III.Physikalisches Institut at the RWTH Aachen, Lehrstuhl B 
Room: H.116         Tel.: +49(241)80-6355          Fax: +49(241)8888-244
Postal Address:   Physikzentrum, RWTH Aachen, D-52056 Aachen
e-mail: welters@physik.rwth-aachen.de      or        Tim.Welters@cern.ch
------------------------------------------------------------------------



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