| Summary: | libG4run.so: cannot open shared object file: No such file or directory | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | lambrop |
| Component: | config | Assignee: | Serguei.Sadilov |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | ||
| Priority: | P1 | ||
| Version: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
lambrop
2005-01-20 08:11:16 CET
It looks like you didn't add in PATH environment the path to your installed G4 libraries. The env.sh will not set ot for you. In next releases we probably will add this feature. ******************** Problem not solved **************************** [root@mozart Linux-g++]# echo $PATH /usr/sue/sbin:/usr/sue/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/apps/geant4.6.2.p02/lib/Linux-g++ [root@mozart N01]# gmake Making dependency for file exampleN01.cc ... Making dependency for file src/ExN01PrimaryGeneratorAction.cc ... Making dependency for file src/ExN01PhysicsList.cc ... Making dependency for file src/ExN01DetectorConstruction.cc ... Compiling ExN01DetectorConstruction.cc ... Compiling ExN01PhysicsList.cc ... Compiling ExN01PrimaryGeneratorAction.cc ... Creating/replacing object files in /root/geant4/tmp/Linux-g++/exampleN01/libexampleN01.a ... Compiling exampleN01.cc ... Using granular libraries ... Linking exampleN01 ... [root@mozart N01]# /root/geant4/bin/Linux-g++/exampleN01 /root/geant4/bin/Linux-g++/exampleN01: error while loading shared libraries: libG4run.so: cannot open shared object file: No such file or directory *************************************************************************** I'm using geant4.6.2.p02 because I compiled also this version of geant4 *************************************************************************** |