Message: Problems with getting running program Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Problems with getting running program 

Forum: Documentation and Examples
Date: 28 Aug, 2008
From: Charles Jonah <Charles Jonah>

Geant 4.9.1 patch 02
Macintosh 10.4.11

I get the following
/Users/jonah-geant% exampleN01
dyld: Library not loaded: libCLHEP-2.0.4.0.dylib
 Referenced from: /Users/jonah-geant/geant4/bin/Darwin-g++/exampleN01
 Reason: image not found
Trace/BPT trap
/Users/jonah-geant% cd $LD_LIBRARY_PATH
/Users/jonah-geant/2.0.4.0/lib% ls
libCLHEP-2.0.4.0.a
libCLHEP-2.0.4.0.dylib*
etc.

When I checked the FAQ, it suggested that the problem would be due to the LD_LIBRARY_PATH.

To check to make sure that was working correctly, I did a "cd" to that directory and did an "ls".  As shown above the relevant thing seems to be there.
(as one can tell the path includes the appropriate binary library).

The "environment" for the run is
/Users/jonah-geant/2.0.4.0/lib% env
PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:/Users/jonah-geant/geant4/bin/Darwin-g++:/usr/local/bin:/Users/jonah-geant/geant4/bin/Darwin-g++:/Users/jonah-geant/bin:.
SECURITYSESSIONID=b8eeb0
HOME=/Users/jonah-geant
SHELL=/bin/bash
USER=jonah-geant
__CF_USER_TEXT_ENCODING=0x1F7:0:0
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=133-1
TERM=vt100
HOSTTYPE=powermac
VENDOR=apple
OSTYPE=darwin
MACHTYPE=powerpc
SHLVL=1
PWD=/Users/jonah-geant/2.0.4.0/lib
LOGNAME=jonah-geant
GROUP=jonah-geant
HOST=anchjc.chm.anl.gov
LD_LIBRARY_PATH=/Users/jonah-geant/2.0.4.0/lib
MACOSX_DEPLOYMENT_TARGET=10.4
MANPATH=/sw/share/man:/usr/share/man:/usr/X11R6/man
INFOPATH=/sw/share/info:/sw/info:/usr/share/info
PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
G4SYSTEM=Darwin-g++
G4INSTALL=/Users/jonah-geant/geant4
G4INCLUDE=/Users/jonah-geant/geant4/include
G4LIB=/Users/jonah-geant/geant4/lib
G4LEVELGAMMADATA=/Users/jonah-geant/geant4/data/PhotonEvaporation2.0
G4RADIOACTIVEDATA=/Users/jonah-geant/geant4/data/RadioactiveDecay3.2
G4LEDATA=/Users/jonah-geant/geant4/data/G4EMLOW5.1
G4NEUTRONHPDATA=/Users/jonah-geant/geant4/data/G4NDL3.12
G4ABLADATA=/Users/jonah-geant/geant4/data/G4ABLA3.0
CLHEP_BASE_DIR=/Users/jonah-geant/2.0.4.0
CLHEP_INCLUDE_DIR=/Users/jonah-geant/2.0.4.0/include
CLHEP_LIB_DIR=/Users/jonah-geant/2.0.4.0/lib
CLHEP_LIB=CLHEP
XMFLAGS=
XMLIBS=
XAWFLAGS=
XAWLIBS=
G4LIB_BUILD_STATIC=1
G4LIB_USE_GRANULAR=1
G4UI_USE_TCSH=1
G4WORKDIR=/Users/jonah-geant/geant4

Chuck Jonah 

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

1 None: Re: Problems with getting running program   (Marcus Mendenhall - 28 Aug, 2008)
 Add Message Add Message
to: "Problems with getting running program"

 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 ]