<div dir="ltr">Hello, <div><br></div><div>maybe still a linking error. Be sure to recompile everything from scratch and be sure Gate is linked with the correct G4 only ... </div><div><br></div><div>Check with ldd to List Dynamic Dependencies of an executable, it could help</div><div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 1, 2016 at 11:29 AM, Gustaf Lönn <span dir="ltr"><<a href="mailto:gustaflo@kth.se" target="_blank">gustaflo@kth.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><span class="">
Hello!
<div><br>
</div>
<div>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><br>
</div>
<div>
<div>Symbol `_ZTV19G4GammaParticipants' has different size in shared object, consider re-linking</div>
<div>Gate: symbol lookup error: Gate: undefined symbol: _ZN12G4AllocStats6numCatE</div>
</div>
<div><br>
</div>
<div>I think ”GammaParticipants" originate from G4GammaParicipants.hh and ”AllocStats" from G4EnhancedVectorAllocator.hh</div>
<div><br>
</div>
<div>In my bash script I removed the path and library path associated with system clhep, otherwise it is unchanged.</div>
<div><br>
</div>
<div>any ideas? </div>
<div><br>
</div>
</span><span class="HOEnZb"><font color="#888888"><div>//Gustaf</div></font></span><div><div class="h5">
<div>
<blockquote type="cite">
<div>1 mars 2016 kl. 08:01 skrev David Sarrut <<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" target="_blank">David.Sarrut@creatis.insa-lyon.fr</a>>:</div>
<br>
<div>
<div dir="ltr">Hello,
<div><br>
</div>
<div>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><br>
</div>
<div>hope it helps, </div>
<div>David</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 29, 2016 at 6:52 PM, Gustaf Lönn <span dir="ltr">
<<a href="mailto:gustaflo@kth.se" target="_blank">gustaflo@kth.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello!<br>
<br>
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>
<br>
I have followed the installation/compilation instructions and set the external CLHEP options to ”on” and set the following paths:<br>
<br>
Geant4<br>
CLHEP_CONFIG_EXECUTABLE: /home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config<br>
CLHEP_INCLUDE_DIR: /home/gate/gate_sources2/2.2.0.4-install/include<br>
CLHEP_LIBRARY: /home/gate/gate_sources2/2.2.0.4-install/lib/libCLHEP.so<br>
<br>
Gate<br>
CLHEP_CONFIG_EXECUTABLE: /home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config<br>
CLHEP_INCLUDE_DIR: /home/gate/gate_sources2/2.2.0.4-install/include<br>
<br>
In my bash script I have the following:<br>
<br>
export PATH=$PATH:/home/gate/gate_sources2/2.2.0.4-install/bin: /home/gate/gate_sources2/2.2.0.4-install/include<br>
<br>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/gate_sources2/2.2.0.4-install/lib<br>
<br>
source /home/gate/gate_sources2/root/bin/thisroot.sh<br>
<br>
source /home/gate/gate_sources2/geant4.10.01.p03-install/bin/geant4.sh<br>
<br>
PATH=$PATH:/home/gate/gate_sources2/gate_v7.1-install/bin<br>
<br>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/gate/gate_sources2/geant4.10.01.p03-install/lib64<br>
<br>
Does anyone have any idea about what might be wrong? I’m grateful for any suggestions!<br>
<br>
Best Regards<br>
Gustaf L<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">David Sarrut, Phd<br>
Directeur de recherche CNRS<br>
CREATIS, UMR CNRS 5220, Inserm U1206
<div>Centre de lutte contre le cancer Léon Bérard<br>
28 rue Laënnec, 69373 Lyon cedex 08<br>
Tel : <a href="tel:04%2078%2078%2051%2051" value="+33478785151" target="_blank">04 78 78 51 51</a> / <a href="tel:06%2074%2072%2005%2042" value="+33674720542" target="_blank">06 74 72 05 42</a><br>
<a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>
_________________________________</div>
<div> "2 + 2 = 5, for extremely large values of 2"<br>
_________________________________</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">David Sarrut, Phd<br>Directeur de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U1206<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>_________________________________</div><div> "2 + 2 = 5, for extremely large values of 2"<br>_________________________________</div></div></div></div></div>
</div>