[Gate-users] CLHEP library error

Gustaf Lönn gustaflo at kth.se
Tue Mar 1 13:22:39 CET 2016


Hello!

First of all I want to express my gratitude for all the valuable help so far.

I did a full recompile from scratch linked Gate to the correct G4. I still receive the symbol errors previously posted.

I’m not sure on how I should interpret the results from the ldd command.

//
Gustaf
1 mars 2016 kl. 11:50 skrev David Sarrut <David.Sarrut at creatis.insa-lyon.fr<mailto:David.Sarrut at creatis.insa-lyon.fr>>:

Hello,

maybe still a linking error. Be sure to recompile everything from scratch and be sure Gate is linked with the correct G4 only ...

Check with ldd to List Dynamic Dependencies of an executable, it could help

David

On Tue, Mar 1, 2016 at 11:29 AM, Gustaf Lönn <gustaflo at kth.se<mailto:gustaflo at kth.se>> wrote:
Hello!

I tried to recompile both G4 and Gate without the external clhep. That took care of the initial library error. However, I received the following error when trying to run Gate:

Symbol `_ZTV19G4GammaParticipants' has different size in shared object, consider re-linking
Gate: symbol lookup error: Gate: undefined symbol: _ZN12G4AllocStats6numCatE

I think ”GammaParticipants" originate from G4GammaParicipants.hh and ”AllocStats" from G4EnhancedVectorAllocator.hh

In my bash script I removed the path and library path associated with system clhep, otherwise it is unchanged.

any ideas?

//Gustaf
1 mars 2016 kl. 08:01 skrev David Sarrut <David.Sarrut at creatis.insa-lyon.fr<mailto:David.Sarrut at creatis.insa-lyon.fr>>:

Hello,

it should be a path issue. The simplest way is to use the G4 embedded clhep and to not use external clhep. Once G4 is compiled, recompile Gate, without external clhep also.

hope it helps,
David

On Mon, Feb 29, 2016 at 6:52 PM, Gustaf Lönn <gustaflo at kth.se<mailto:gustaflo at kth.se>> wrote:
Hello!

I have encountered a problem with the CLHEP libraries when I’m trying to run Gate. Instead of searching for the external 2.2.0.4 CLHEP library the program wants to use the libG4chlep and therefore terminates. I use x86 Ubuntu 64bit.

I have followed the installation/compilation instructions and set the external CLHEP options to ”on” and set the following paths:

Geant4
CLHEP_CONFIG_EXECUTABLE: /home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config
CLHEP_INCLUDE_DIR: /home/gate/gate_sources2/2.2.0.4-install/include
CLHEP_LIBRARY: /home/gate/gate_sources2/2.2.0.4-install/lib/libCLHEP.so

Gate
CLHEP_CONFIG_EXECUTABLE: /home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config
CLHEP_INCLUDE_DIR: /home/gate/gate_sources2/2.2.0.4-install/include

In my bash script I have the following:

export PATH=$PATH:/home/gate/gate_sources2/2.2.0.4-install/bin: /home/gate/gate_sources2/2.2.0.4-install/include

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/gate_sources2/2.2.0.4-install/lib

source /home/gate/gate_sources2/root/bin/thisroot.sh

source /home/gate/gate_sources2/geant4.10.01.p03-install/bin/geant4.sh

PATH=$PATH:/home/gate/gate_sources2/gate_v7.1-install/bin

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/gate_sources2/geant4.10.01.p03-install/lib64

Does anyone have any idea about what might be wrong? I’m grateful for any suggestions!

Best Regards
Gustaf L
_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto:Gate-users at lists.opengatecollaboration.org>
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users



--
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U1206
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51<tel:04%2078%2078%2051%2051> / 06 74 72 05 42<tel:06%2074%2072%2005%2042>
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
 "2 + 2 = 5,  for extremely large values of 2"
_________________________________




--
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U1206
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
 "2 + 2 = 5,  for extremely large values of 2"
_________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160301/08d2257c/attachment.html>


More information about the Gate-users mailing list