| Message: Re: Error while loading shared libraries | Not Logged In (login) |
|
On Fri, 16 Jan 2009, Arewa wrote:
|-----------------------------------------------------------------------| |"I'm working on the geant4 nder vimwar. During the comlpilation of th | |example N03 and all the other examples, I have found this worring: | | | |/usr/bin/ld: warning: libXm.so.4, needed by | |/home/local1/geant4/work/tmp/Linux-g++/exampleN03/libexampleN03.so, not| |found (try using -rpath or -rpath-link) ... Done!" | |-----------------------------------------------------------------------| It seems that the computer might be missing a Motif library, or that you have not set an option for the operating system to find it.
|-----------------------------------------------------------------------| |"Then when I was executing this example I found: | | | |/home/local1/geant4/work/bin/Linux-g++/exampleN03: error while loading | |shared libraries: libexampleN03.so: cannot open shared object file: No | |such file or directory | | | |[..]" | |-----------------------------------------------------------------------| This would also be a problem of not finding a library, but is more serious. Unfortunately the Configure script does not clearly advise that the instructions on HTTP://Geant4.web.CERN.CH/geant4/UserDocumentation/UsersGuides/InstallationGuide/html/ch02s02.html should be read. However env.sh is not completely satisfactory, such that you might find it easier to run the example if you also copy the file libCLHEP-2.0.4.2.so into the same directory which contains the file exampleN03 .
|
| Inline Depth: | Outline Depth: | Add message: |
|
to: |