<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hello!
<div class=""><br class="">
</div>
<div class="">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:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">Symbol `_ZTV19G4GammaParticipants' has different size in shared object, consider re-linking</div>
<div class="">Gate: symbol lookup error: Gate: undefined symbol: _ZN12G4AllocStats6numCatE</div>
</div>
<div class=""><br class="">
</div>
<div class="">I think ”GammaParticipants" originate from G4GammaParicipants.hh and ”AllocStats" from G4EnhancedVectorAllocator.hh</div>
<div class=""><br class="">
</div>
<div class="">In my bash script I removed the path and library path associated with system clhep, otherwise it is unchanged.</div>
<div class=""><br class="">
</div>
<div class="">any ideas? </div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class=""><br class="">
</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hello,
<div class=""><br class="">
</div>
<div class="">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. </div>
<div class=""><br class="">
</div>
<div class="">hope it helps, </div>
<div class="">David</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Mon, Feb 29, 2016 at 6:52 PM, Gustaf Lönn <span dir="ltr" class="">
<<a href="mailto:gustaflo@kth.se" target="_blank" class="">gustaflo@kth.se</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br class="">
<br class="">
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.<br class="">
<br class="">
I have followed the installation/compilation instructions and set the external CLHEP options to ”on” and set the following paths:<br class="">
<br class="">
Geant4<br class="">
CLHEP_CONFIG_EXECUTABLE: /home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config<br class="">
CLHEP_INCLUDE_DIR: /home/gate/gate_sources2/2.2.0.4-install/include<br class="">
CLHEP_LIBRARY: /home/gate/gate_sources2/2.2.0.4-install/lib/libCLHEP.so<br class="">
<br class="">
Gate<br class="">
CLHEP_CONFIG_EXECUTABLE: /home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config<br class="">
CLHEP_INCLUDE_DIR: /home/gate/gate_sources2/2.2.0.4-install/include<br class="">
<br class="">
In my bash script I have the following:<br class="">
<br class="">
export PATH=$PATH:/home/gate/gate_sources2/2.2.0.4-install/bin: /home/gate/gate_sources2/2.2.0.4-install/include<br class="">
<br class="">
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/gate_sources2/2.2.0.4-install/lib<br class="">
<br class="">
source /home/gate/gate_sources2/root/bin/thisroot.sh<br class="">
<br class="">
source /home/gate/gate_sources2/geant4.10.01.p03-install/bin/geant4.sh<br class="">
<br class="">
PATH=$PATH:/home/gate/gate_sources2/gate_v7.1-install/bin<br class="">
<br class="">
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/gate_sources2/geant4.10.01.p03-install/lib64<br class="">
<br class="">
Does anyone have any idea about what might be wrong? I’m grateful for any suggestions!<br class="">
<br class="">
Best Regards<br class="">
Gustaf L<br class="">
_______________________________________________<br class="">
Gate-users mailing list<br class="">
<a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">Gate-users@lists.opengatecollaboration.org</a><br class="">
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank" class="">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote>
</div>
<br class="">
<br clear="all" class="">
<div class=""><br class="">
</div>
-- <br class="">
<div class="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">David Sarrut, Phd<br class="">
Directeur de recherche CNRS<br class="">
CREATIS, UMR CNRS 5220, Inserm U1206
<div class="">Centre de lutte contre le cancer Léon Bérard<br class="">
28 rue Laënnec, 69373 Lyon cedex 08<br class="">
Tel : 04 78 78 51 51 / 06 74 72 05 42<br class="">
<a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank" class="">http://www.creatis.insa-lyon.fr/~dsarrut</a><br class="">
_________________________________</div>
<div class=""> "2 + 2 = 5, for extremely large values of 2"<br class="">
_________________________________</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>