Message: Re: Error while loading shared libraries of novice example Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Error while loading shared libraries of novice example 

Forum: Installation and Configuration
Re: Question Error while loading shared libraries of novice example (Marcus Niechciol)
Date: 30 Apr, 2010
From: Paul Nicholas Colin Gloster <Paul Nicholas Colin Gloster>

Niechciol sent:
|------------------------------------------------------------------------|
|"Dear all, I - that is, not only I but my whole working group - am a    |
|complete beginner with Geant4, so please forgive me if I ask some stupid|
|questions ;)                                                            |
|                                                                        |
|Our local admin installed the newest Geant4 version on our linux        |
|cluster, everything went smooth with no error messages. We can compile  |
|the novice examples without any problems, but if we try to run them, we |
|get the following error message:                                        |
|                                                                        |
|** /nfs/munch/home/niechciol/g4work/bin/Linux-g++/exampleN01: error     |
|while loading shared libraries: libexampleN01.so: cannot open shared    |
|object file: No such file or directory **                               |
|                                                                        |
|The statement is clear, of course, and we can circumvent this error if  |
|we include the ../tmp/Linux-g++/exampleN01 path in our $LD_LIBRARY_PATH.|
|But this can't be the way it's supposed to work, isn't it?"             |
|------------------------------------------------------------------------|

Did you forget to
. env.sh
before trying to run the examples?

|------------------------------------------------------------------------|
|"Our admin looked at this and noticed that the shared libraries are put |
|into the tmp directory; shouldn't there be a lib directory (analogue to |
|the bin directory) where those libraries are collected?"                |
|------------------------------------------------------------------------|

Library files specific to an executable program as distinct from Geant
overall are produced in
/nfs/munch/home/niechciol/g4work/tmp/Linux-g++/
by default unless you explicitly choose otherwise.

|------------------------------------------------------------------------|
|"Or have we done anything wrong while installing or using Geant4 until  |
|now?                                                                    |
|                                                                        |
|Cheers, Marcus"                                                         |
|------------------------------------------------------------------------|

Not really.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: Error while loading shared libraries of novice example   (Gunter Folger - 30 Apr, 2010)
(_ None: Re: Error while loading shared libraries of novice example   (Marcus Niechciol - 30 Apr, 2010)
(_ Question: Re: Error while loading shared libraries of novice example   (Gabriele Cosmo - 30 Apr, 2010)
(_ None: Re: Error while loading shared libraries of novice example   (Marcus Niechciol - 04 May, 2010)
(_ More: Re: Error while loading shared libraries of novice example   (Gabriele Cosmo - 04 May, 2010)
(_ None: Re: Error while loading shared libraries of novice example   (Marcus Niechciol - 05 May, 2010)
(_ More: Re: Error while loading shared libraries of novice example   (Gabriele Cosmo - 05 May, 2010)
 Add Message Add Message
to: "Re: Error while loading shared libraries of novice example"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]