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

Question Error while loading shared libraries of novice example 

Forum: Installation and Configuration
Date: 29 Apr, 2010
From: Marcus Niechciol <Marcus Niechciol>

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?

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?

Or have we done anything wrong while installing or using Geant4 until now?

Cheers, Marcus

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

1 None: Re: Error while loading shared libraries of novice example   (Paul Nicholas Colin Gloster - 30 Apr, 2010)
(_ 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: "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 ]