Message: Re: error while loading shared libraries: *.so files Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: error while loading shared libraries: *.so files 

Keywords: error while loading shared libraries
Forum: Installation and Configuration
Re: None error while loading shared libraries: *.so files (Wonho)
Re: None Re: error while loading shared libraries: *.so files (Ben Morgan)
Re: None Re: error while loading shared libraries: *.so files (Wonho)
Re: None Re: error while loading shared libraries: *.so files (Ben Morgan)
Re: None Re: error while loading shared libraries: *.so files (Wonho)
Date: 08 Apr, 2008
From: Ben Morgan <Ben Morgan>

Thanks for the information! If 'echo $LD_LIBRARY_PATH' is giving a blank line then LD_LIBRARY_PATH isn't set - hence the errors with not finding the Geant4 libs, and also the output from ldd (the libraries linked to are not found).

Since it looks like your Geant4 install generated the env.sh file, I'd recommend only having the lines

source /home/wonhol/geant4.9.0.p02/env.sh

export G4WORKDIR=/home/wonhol/geant

in your .bash_profile for setting up Geant4 as the env.sh will set all the important environment variables for you (including LD_LIBRARY_PATH).

To check that this works, do

source ~/.bash_profile

and then try running exampleN01 again.

Cheers,

Ben.

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: *.so files   (Wonho - 08 Apr, 2008)
(_ None: Re: error while loading shared libraries: *.so files   (Ben Morgan - 08 Apr, 2008)
(_ None: Re: error while loading shared libraries: *.so files   (Wonho - 10 Apr, 2008)
(_ None: Re: error while loading shared libraries: *.so files   (Ben Morgan - 10 Apr, 2008)
 Add Message Add Message
to: "Re: error while loading shared libraries: *.so files"

 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 ]