geant3_vmc undefined symbol: _ZN10TVirtualMC14DefineParticleEiPKc15TMCParticleTypeddd

From: Stefano Dusini <stefano.dusini_at_pd.infn.it>
Date: Tue, 21 Apr 2009 17:52:46 +0200


Hi

I have upgrade the OPERA simulation software to use root_v5.23 and therefore I changed also the version of geant3_vmc to v1.10.
At run time I get the error

/sps/opera/scratch/dusini/sw/OpRelease/3.1/OpSim/v7r4/Linux/opsim.exe:
symbol lookup error:
/sps/opera/scratch/dusini/sw/OpRelease_fluka/kits/geant3_vmc_1.10/lib/tgt_linux/libgeant321vmc.so:

undefined symbol: _ZN10TVirtualMC14DefineParticleEiPKc15TMCParticleTypeddd

In fact using

nm -u libgeant321vmc.so

I see that

U _ZN10TVirtualMC14DefineParticleEiPKc15TMCParticleTypeddd

where the U means (from nm man page) that the symbol is undefined.

What is wrong?
It is a problem of geant3_vmc or of ROOT?

The geant3_vmc library has been build just with

gmake

and the environmental variable $ROOTSYS pointing to the ROOT v5.23 directory and $ROOTSYS/lib added to the $LD_LIBRARY_PATH and $ROOTSYS/bin added to $PATH.

Do I have to specify something else when I compile geant3_vmc? Do I have to use some special switch when I compile root?

With regards
Stefano

-- 
__________________________________________________________________
Stefano Dusini, INFN Padova, Via Marzolo, 8 I-35131 Padova, Italy
Phones: +39-049-827-7312 +39-049-789-7676. Handy +39-348-8137991

Received on Tue Apr 21 2009 - 17:53:02 CEST

This archive was generated by hypermail 2.2.0 : Tue Apr 21 2009 - 23:25:01 CEST