|Message: Re: Error in running example A01||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Yes I have source the env.sh file in the same terminal running A01. The environment is as :
On this machine the G4SYSTEM=Darwin-g++
On this machine the G4INSTALL=/Users/fumi/geant4/geant4.9.3.p01
On this machine the G4LIB=/Users/fumi/geant4/geant4.9.3.p01/lib
On this machine the G4LEVELGAMMADATA=/Users/fumi/geant4/geant4.9.3.p01/data/PhotonEvaporation2.0
On this machine the G4RADIOACTIVEDATA=/Users/fumi/geant4/geant4.9.3.p01/data/RadioactiveDecay3.2
On this machine the G4LEDATA=/Users/fumi/geant4/geant4.9.3.p01/data/G4EMLOW6.9
On this machine the G4NEUTRONHPDATA=/Users/fumi/geant4/geant4.9.3.p01/data/G4NDL3.13
On this machine the G4ABLADATA=/Users/fumi/geant4/geant4.9.3.p01/data/G4ABLA3.0
On this machine the G4REALSURFACEDATA=/Users/fumi/geant4/geant4.9.3.p01/data/RealSurface1.0
On this machine the CLHEP_BASE_DIR=/Users/fumi/CLHEP
On this machine the CLHEP_INCLUDE_DIR=/Users/fumi/CLHEP/include
On this machine the CLHEP_LIB_DIR=/Users/fumi/CLHEP/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4UI_USE_TCSH=1
On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the G4VIS_USE_RAYTRACERX=1
On this machine the XMFLAGS=
On this machine the XMLIBS=
On this machine the XMFLAGS=
On this machine the XAWFLAGS=
On this machine the XAWLIBS=
On this machine the G4LIB_BUILD_SHARED=1
DYLD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries. NOTE : you should verify that the correct path for the CLHEP library
is included in the dynamic library search path ahead of any other installations of CLHEP on your system that may be referenced by this path.
I also couldn't run any other examples, e.g. for N01 the error is :
Linking exampleN01 ld: library not found for -lG4digits collect2: ld returned 1 exit status
Though I have G4detector directory in : "/Users/fumi/geant4/geant4.9.3.p01/tmp/Darwin-g++/G4detector" and G4digit directory in: "/Users/fumi/geant4/geant4.9.3.p01/tmp/Darwin-g++/G4digits"
If these are the directories its looking for..
On Sat, 06 Nov 2010 22:54:51 GMT, Michael H. Kelsey wrote:
> On Sat, 06 Nov 2010 15:48:43 GMT, Fahmida khanam wrote: > > > I have recently installed GEANT4.9.3.p01 in my new macbook pro i5. The > > installation finished without any error message. But when I tried to run > > the example A01, I got this error: > > > > Linking A01app ld: library not found for -lG4detector collect2: ld > > returned 1 exit status make: *** > > [/Users/fumi/g4work/bin/Darwin-g++/A01app] Error 1 > > Did you remember to |source env.csh| or |. env.sh| from your G4 > installation directory, in the same process where you did the A01 build? > You have to have all the G4 environment variables defined, and you have > to have DYLD_LIBRARY_PATH set, when you do the application build. >
|Inline Depth:||Outline Depth:||Add message:|