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

None Re: limking error again 

Forum: Installation and Configuration
Re: Question limking error again (Alberto Mengarelli)
Date: 28 May, 2009
From: Paul Nicholas Colin Gloster <Paul Nicholas Colin Gloster>

On Tue, 26 May 2009, Alberto Mengarelli wrote:

|---------------------------------------------------------------------------------------------------|
|" 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 "                                                                          |
|---------------------------------------------------------------------------------------------------|

Ciao,

I hope that the late response has not discouraged you from using Geant.

I do not know what LXPlus.CERN.CH is. If you are having difficulty
with using things which are provided to you in CERN, then perhaps
administrative staff in CERN should be consulted.

|---------------------------------------------------------------------------------------------------|
|"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"                                                                                               |
|---------------------------------------------------------------------------------------------------|

Geant is distributed without a file called  setup.sh  but is
distributed with a file called  env.sh  so I do not know what you
have.

|---------------------------------------------------------------------------------------------------|
|"[..]                                                                                              |
|                                                                                                   |
| 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?"                                                                               |
|---------------------------------------------------------------------------------------------------|

Xerces is different software, which should not be needed for that
example. The linker has not managed to find it.

|---------------------------------------------------------------------------------------------------|
|"What's wrong?                                                                                     |
|                                                                                                   |
| Help me please!!                                                                                  |
|                                                                                                   |
| Thanks for all,                                                                                   |
|                       Alberto"                                                                    |
|---------------------------------------------------------------------------------------------------|

It seems that someone might have provided you with a special
installation of Geant with the intended purpose of making it easier to
use, but instead with the opposite effect.

I suggest that you install Geant yourself from
HTTP://Geant4.CERN.CH/support/download.shtml

Good luck,
Colin Paul Gloster

 Add Message Add Message
to: "Re: 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 ]