Message: limking error again Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question limking error again 

Forum: Installation and Configuration
Date: 26 May, 2009
From: Alberto Mengarelli <Alberto Mengarelli>

 Hello everybody i've another problem but of the same kind
 of the one i posted in the previous link error  

 i am on lxplus.cern.ch and i try to run the geant4 code of novice
 example N01 taken for version 9.2.p01.
 I first of all source the setup.sh file for the relative version:

[lxplus249] ~/geant4/examples/novice/N01> source setup.sh Configuration script for Geant4 binary releases at CERN, Version 2.2 December 2005 Setting up the environment for 9.2.p01 G4WORKDIR already set Creating the G4WORKDIR directory /afs/cern.ch/user/a/amenga/geant4/9.2.p01/slc4_amd64_gcc34 G4BIN already set

 and then compile the code:

[lxplus249] ~/geant4/examples/novice/N01> gmake Making dependency for file exampleN01.cc ... Making dependency for file src/ExN01PrimaryGeneratorAction.cc ... Making dependency for file src/ExN01PhysicsList.cc ... Making dependency for file src/ExN01DetectorConstruction.cc ... Compiling ExN01DetectorConstruction.cc ... Compiling ExN01PhysicsList.cc ... Compiling ExN01PrimaryGeneratorAction.cc ... Creating/replacing object files in /afs/cern.ch/user/a/amenga/geant4/9.2.p01/slc4_amd64_gcc34/tmp/Linux-g++/exampleN01/libexampleN01.a ... ar: creating /afs/cern.ch/user/a/amenga/geant4/9.2.p01/slc4_amd64_gcc34/tmp/Linux-g++/exampleN01/libexampleN01.a Compiling exampleN01.cc ... Using global libraries ...

 again a linking problem related to -lxerces-c:

Linking exampleN01 ... /usr/bin/ld: cannot find -lxerces-c collect2: ld returned 1 exit status gmake: *** [/afs/cern.ch/user/a/amenga/geant4/9.2.p01/slc4_amd64_gcc34/bin/Linux-g++/exampleN01] Error 1

 What does it mean?
 What's wrong?

 Help me please!!

 Thanks for all,
                       Alberto

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

1 None: Re: limking error again   (Paul Nicholas Colin Gloster - 28 May, 2009)
2 More: Re: limking error again   (Gabriele Cosmo - 28 May, 2009)
 Add Message Add Message
to: "limking error again"

 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 ]