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

Feedback 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)
Re: None Re: Error while loading shared libraries of novice example (Paul Nicholas Colin Gloster)
Date: 30 Apr, 2010
From: Gunter Folger <Gunter Folger>

You normally must add the directory where the main Geant4 libraries are put into LD_LIBRARY_PATH, but not the directory for the example specific libraries. The linker as invoked by the Geant4 makefiles should actually add the full path to the example .so in the executable.

Please check what which libraries and where these are expected using ldd:

ldd /nfs/munch/home/niechciol/g4work/bin/Linux-g++/exampleN01

and look for libexampleN01.so

Gunter

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   (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 ]