Problem 836

Summary: Running Problem mentioned in FAQ
Product: Geant4 Reporter: paganini
Component: configAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P2    
Version: other   
Hardware: Other   
OS: Linux   

Description paganini 2006-02-06 09:45:50 CET
Excuse me
This problem is present in FAQ: error in loading shared libraries:
         libCLHEP.so: cannot open shared object file:
         No such file or directory.
In my case the error message is refered to the file name libCLHEP-1.9.2.2
The solution present in Geant4 Home Page is:Your installation of CLHEP
includes shared libraries. You need to specify the path where libCLHEP.so is
installed through your environment variable LD_LIBRARY_PATH.
I have writted in env.csh the command line:
setenv LD_LIBRARY_PATH $G4LIB/$G4SYSTEM
but nothing is occorred and the error message persist
Is this command line uncorrect ?
Best Regard
Thank you
Comment 1 Gabriele Cosmo 2006-02-06 10:03:59 CET
You need to locate -where- your CLHEP library is installed as specified in
the FAQ, please read it more carefully!
$G4LIB/$G4SYSTEM is usually the location for the Geant4 libraries, NOT for CLHEP.
The CLHEP library is usually located in $CLHEP_BASE_DIR/lib; so this is the path
you should consider instead to add in LD_LIBRARY_PATH. You should also verify
the -file name- of the CLHEP library to be libCLHEP-1.9.2.2.so or libCLHEP.so
and adjust the CLHEP_LIB variable accordingly, as specified in the FAQ ...