| Summary: | error in loading shared libraries: libCLHEP.so | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | rashid |
| Component: | config | Assignee: | Gunter.Folger |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | other | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
rashid
2000-12-21 09:22:04 CET
The problem is probably due to missing shared library object .so in your local path. I assume this error occurs when you want to run an example. If so, this means
that the CLHEP shared object is not found by the run time loader. You have to
add the directory your CLHEP is in to the LD_LIBRARY_PATH environment variable:
for csh, tcsh, ... type:
setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:/usr/local/cern/clhep"
for sh, bash, ... type
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/cern/clhep"
Please let me know if this fixes your problem
Gunter.Folger@cern.ch
One additional clarification. The directory added to LD_LIBRARY_PATH must be the directory containg libCLHEP.so, not the base directory of the CLHEP installation. |