Message: Using global libraries when running examples Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Using global libraries when running examples 

Keywords: global libraries
Forum: Documentation and Examples
Date: 06 Aug, 2005
From: <dengzy@ihep.ac.cn>

I only installed global libraries of geant4, no granular libraries.

GNUmakefile.db libG4materials.a libG4readout.so libG4digits_hits.a libG4materials.so libG4run.a libG4digits_hits.so libG4modeling.a libG4run.so libG4event.a libG4modeling.so libG4track.a libG4event.so libG4OpenGL.a libG4tracking.a libG4FR.a libG4OpenGL.so libG4tracking.so libG4FR.so libG4parmodels.a libG4track.so libG4geometry.a libG4parmodels.so libG4Tree.a libG4geometry.so libG4particles.a libG4Tree.so libG4global.a libG4particles.so libG4visHepRep.a libG4global.so libG4persistency.a libG4visHepRep.so libG4graphics_reps.a libG4persistency.so libG4vis_management.a libG4graphics_reps.so libG4processes.a libG4vis_management.so libG4intercoms.a libG4processes.so libG4visXXX.a libG4intercoms.so libG4RayTracer.a libG4visXXX.so libG4interfaces.a libG4RayTracer.so libG4VRML.a libG4interfaces.so libG4readout.a libG4VRML.so

When I compile exampleN02, and run it,

exampleN02: error while loading shared libraries libexampleN02.so: 
cannot open shared object file: No such file or directory

This doesn't happen when I use granular libraries of Geant4.

I know add the location of libexampleN02.so to LD_LIBRARY_PATH can solve this problem.

But when I run another example, I must change the LD_LIBRARY_PATH again!

What can I do?

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

1 More: Re: Using global libraries when running examples   (Gabriele Cosmo - 08 Aug, 2005)
 Add Message Add Message
to: "Using global libraries when running examples"

 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 ]