<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi again!
<div class=""><br class="">
</div>
<div class="">I removed all the previous versions of geant4 and gate and did a full recompilation from scratch with new build directories. Contrary to what I stated before I am not using ubuntu but a Rocks 6.1.1 distribution of linux for cluster simulations.</div>
<div class=""><br class="">
</div>
<div class="">When I try to run gate I still get the same error:</div>
<div class=""><br class="">
</div>
<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 class=""><br class="">
</div>
<div class="">In my bash script I have: </div>
<div class="">source /home/gate/gate_sources2/root/bin/thisroot.sh</div>
<div class="">source /home/gate/gate_sources2/geant4.10.01.p03-install/bin/geant4.sh</div>
<div class="">export Path=$PATH: /home/gate/gate_sources2/gate_v7.1-install/bin/</div>
<div class=""><br class="">
</div>
<div class="">and "ldd /home/gate/gate_sources2/gate_v7.1-install/bin/Gate” returns the following output:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">inux-vdso.so.1 =>  (0x00007fffb4fff000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4Tree.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4Tree.so (0x00007f2df3227000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4FR.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4FR.so (0x00007f2df3013000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4GMocren.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4GMocren.so (0x00007f2df2dd2000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4visHepRep.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4visHepRep.so (0x00007f2df2b4b000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4RayTracer.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4RayTracer.so (0x00007f2df2921000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4VRML.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4VRML.so (0x00007f2df270a000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4vis_management.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4vis_management.so (0x00007f2df243e000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4modeling.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4modeling.so (0x00007f2df2188000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4interfaces.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4interfaces.so (0x00007f2df1f52000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4persistency.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4persistency.so (0x00007f2df1cb6000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4analysis.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4analysis.so (0x00007f2df1854000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4error_propagation.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4error_propagation.so (0x00007f2df1619000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4readout.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4readout.so (0x00007f2df1411000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4physicslists.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4physicslists.so (0x00007f2df10f7000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4run.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4run.so (0x00007f2df0e8c000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4event.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4event.so (0x00007f2df0c1d000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4tracking.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4tracking.so (0x00007f2df09df000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4parmodels.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4parmodels.so (0x00007f2df07cb000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4processes.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4processes.so (0x00007f2def07d000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4digits_hits.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4digits_hits.so (0x00007f2deeddd000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4track.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4track.so (0x00007f2deebc2000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4particles.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4particles.so (0x00007f2dee868000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4geometry.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4geometry.so (0x00007f2dee3f6000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4materials.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4materials.so (0x00007f2dee14f000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4graphics_reps.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4graphics_reps.so (0x00007f2dedf11000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4intercoms.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4intercoms.so (0x00007f2dedcc6000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4global.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4global.so (0x00007f2deda7d000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4clhep.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4clhep.so (0x00007f2ded7ee000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4zlib.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4zlib.so (0x00007f2ded5d8000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libG4geomUSolids.so => /home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4geomUSolids.so (0x00007f2ded332000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libCore.so => /home/gate/gate_sources2/root/lib/libCore.so (0x00007f2dec985000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libCint.so => /home/gate/gate_sources2/root/lib/libCint.so (0x00007f2dec003000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libRIO.so => /home/gate/gate_sources2/root/lib/libRIO.so (0x00007f2debaf8000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libNet.so => /home/gate/gate_sources2/root/lib/libNet.so (0x00007f2deb77e000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libHist.so => /home/gate/gate_sources2/root/lib/libHist.so (0x00007f2deb00c000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libGraf.so => /home/gate/gate_sources2/root/lib/libGraf.so (0x00007f2deac05000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libGraf3d.so => /home/gate/gate_sources2/root/lib/libGraf3d.so (0x00007f2dea8d9000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libGpad.so => /home/gate/gate_sources2/root/lib/libGpad.so (0x00007f2dea5d5000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libTree.so => /home/gate/gate_sources2/root/lib/libTree.so (0x00007f2dea18d000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libRint.so => /home/gate/gate_sources2/root/lib/libRint.so (0x00007f2de9f59000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libPostscript.so => /home/gate/gate_sources2/root/lib/libPostscript.so (0x00007f2de9cd9000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libMatrix.so => /home/gate/gate_sources2/root/lib/libMatrix.so (0x00007f2de9879000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libPhysics.so => /home/gate/gate_sources2/root/lib/libPhysics.so (0x00007f2de95db000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libMathCore.so => /home/gate/gate_sources2/root/lib/libMathCore.so (0x00007f2de9161000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libThread.so => /home/gate/gate_sources2/root/lib/libThread.so (0x00007f2de8f0d000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libdl.so.2 => /lib64/libdl.so.2 (0x0000003af2400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003af2800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libSM.so.6 => /usr/lib64/libSM.so.6 (0x0000003afe000000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libICE.so.6 => /usr/lib64/libICE.so.6 (0x0000003afe400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003af5000000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003af6000000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003af6c00000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003afd400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libm.so.6 => /lib64/libm.so.6 (0x0000003af2000000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003af6400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libc.so.6 => /lib64/libc.so.6 (0x0000003af1c00000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libz.so.1 => /lib64/libz.so.1 (0x0000003af2c00000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libpcre.so.0 => /lib64/libpcre.so.0 (0x0000003af3800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>/lib64/ld-linux-x86-64.so.2 (0x0000003af1800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x0000003afa800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libssl.so.10 => /usr/lib64/libssl.so.10 (0x0000003b00800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x0000003af6800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003af7400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x0000003af5400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x0000003b00400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libkrb5.so.3 => /lib64/libkrb5.so.3 (0x0000003aff800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003afd800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x0000003aff400000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003af5800000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x0000003affc00000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003aff000000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003af3c00000)</div>
<div class=""><span class="Apple-tab-span" style="white-space: pre;"></span>libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003af3400000)</div>
</div>
<div class=""><br class="">
</div>
<div class="">any ideas of what might be wrong? I will appreciate all the help I can get.</div>
<div class=""><br class="">
</div>
<div class="">//</div>
<div class="">Gustaf</div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">1 mars 2016 kl. 18:59 skrev David Boersma <<a href="mailto:david.boersma@physics.uu.se" class="">david.boersma@physics.uu.se</a>>:</div>
<br class="Apple-interchange-newline">
<div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Hej
 Gustaf,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Now
 we are talking about two different situations: "the system" and "my private computer". Did you get the same linking errors on both of them?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I
 guess that "the system" is your main priority. So then it would be more useful to look at the ldd output for your setup at that system. I'm looking forward to your investigation results tomorrow. :)</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">/DavidB</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Den
 01/03/2016 kl. 18:46, skrev Gustaf Lönn:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Hello!<br class="">
<br class="">
I’m not sure about the exact release and I don’t have access to the<br class="">
system at this very moment.<br class="">
I belive there is a previous version of geant4 installed in another<br class="">
directory, but I think it is geant4.9.6.<br class="">
I did not use the make clean command during the previous recompilation<br class="">
but deleted the build directory etc. so I believe it was completely from<br class="">
scratch?<br class="">
<br class="">
As I mentioned I don’t have access to the system at this moment but I<br class="">
was clever enough to export the ldd Gate output to my private computer<br class="">
so I’ll post it below. At first glance I don’t spot any odd<br class="">
dependencies, all are linked to<br class="">
gate_sources2/geant4.10.01.p03-install/lib64. I’ll investigate further<br class="">
tomorrow when I have access to the system.<br class="">
<br class="">
//<br class="">
Gustaf<br class="">
<br class="">
ldd Gate output:<br class="">
<br class="">
linux-vdso.so.1 =>  (0x00007fff1a7ff000)<br class="">
libG4Tree.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4Tree.so<br class="">
(0x00007f4f64ff5000)<br class="">
libG4FR.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4FR.so<br class="">
(0x00007f4f64de1000)<br class="">
libG4GMocren.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4GMocren.so<br class="">
(0x00007f4f64ba0000)<br class="">
libG4visHepRep.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4visHepRep.so (0x00007f4f64919000)<br class="">
libG4RayTracer.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4RayTracer.so (0x00007f4f646ef000)<br class="">
libG4VRML.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4VRML.so<br class="">
(0x00007f4f644d8000)<br class="">
libG4vis_management.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4vis_management.so<br class="">
(0x00007f4f6420c000)<br class="">
libG4modeling.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4modeling.so<br class="">
(0x00007f4f63f56000)<br class="">
libG4interfaces.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4interfaces.so<br class="">
(0x00007f4f63d20000)<br class="">
libG4persistency.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4persistency.so<br class="">
(0x00007f4f63a84000)<br class="">
libG4analysis.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4analysis.so<br class="">
(0x00007f4f63622000)<br class="">
libG4error_propagation.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4error_propagation.so<br class="">
(0x00007f4f633e7000)<br class="">
libG4readout.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4readout.so<br class="">
(0x00007f4f631df000)<br class="">
libG4physicslists.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4physicslists.so<br class="">
(0x00007f4f62ec5000)<br class="">
libG4run.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4run.so<br class="">
(0x00007f4f62c5a000)<br class="">
libG4event.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4event.so<br class="">
(0x00007f4f629eb000)<br class="">
libG4tracking.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4tracking.so<br class="">
(0x00007f4f627ad000)<br class="">
libG4parmodels.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4parmodels.so (0x00007f4f62599000)<br class="">
libG4processes.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4processes.so (0x00007f4f60e4b000)<br class="">
libG4digits_hits.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4digits_hits.so<br class="">
(0x00007f4f60bab000)<br class="">
libG4track.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4track.so<br class="">
(0x00007f4f60990000)<br class="">
libG4particles.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4particles.so (0x00007f4f60636000)<br class="">
libG4geometry.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4geometry.so<br class="">
(0x00007f4f601c4000)<br class="">
libG4materials.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4materials.so (0x00007f4f5ff1d000)<br class="">
libG4graphics_reps.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4graphics_reps.so<br class="">
(0x00007f4f5fcdf000)<br class="">
libG4intercoms.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4intercoms.so (0x00007f4f5fa94000)<br class="">
libG4global.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4global.so<br class="">
(0x00007f4f5f84b000)<br class="">
libG4clhep.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4clhep.so<br class="">
(0x00007f4f5f5bc000)<br class="">
libG4zlib.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4zlib.so<br class="">
(0x00007f4f5f3a6000)<br class="">
libG4geomUSolids.so =><br class="">
/home/gate/gate_sources2/geant4.10.01.p03-install/lib64/libG4geomUSolids.so<br class="">
(0x00007f4f5f100000)<br class="">
libCore.so => /home/gate/gate_sources2/root/lib/libCore.so<br class="">
(0x00007f4f5e753000)<br class="">
libCint.so => /home/gate/gate_sources2/root/lib/libCint.so<br class="">
(0x00007f4f5ddd1000)<br class="">
libRIO.so => /home/gate/gate_sources2/root/lib/libRIO.so<br class="">
(0x00007f4f5d8c6000)<br class="">
libNet.so => /home/gate/gate_sources2/root/lib/libNet.so<br class="">
(0x00007f4f5d54c000)<br class="">
libHist.so => /home/gate/gate_sources2/root/lib/libHist.so<br class="">
(0x00007f4f5cdda000)<br class="">
libGraf.so => /home/gate/gate_sources2/root/lib/libGraf.so<br class="">
(0x00007f4f5c9d3000)<br class="">
libGraf3d.so => /home/gate/gate_sources2/root/lib/libGraf3d.so<br class="">
(0x00007f4f5c6a7000)<br class="">
libGpad.so => /home/gate/gate_sources2/root/lib/libGpad.so<br class="">
(0x00007f4f5c3a3000)<br class="">
libTree.so => /home/gate/gate_sources2/root/lib/libTree.so<br class="">
(0x00007f4f5bf5b000)<br class="">
libRint.so => /home/gate/gate_sources2/root/lib/libRint.so<br class="">
(0x00007f4f5bd27000)<br class="">
libPostscript.so => /home/gate/gate_sources2/root/lib/libPostscript.so<br class="">
(0x00007f4f5baa7000)<br class="">
libMatrix.so => /home/gate/gate_sources2/root/lib/libMatrix.so<br class="">
(0x00007f4f5b647000)<br class="">
libPhysics.so => /home/gate/gate_sources2/root/lib/libPhysics.so<br class="">
(0x00007f4f5b3a9000)<br class="">
libMathCore.so => /home/gate/gate_sources2/root/lib/libMathCore.so<br class="">
(0x00007f4f5af2f000)<br class="">
libThread.so => /home/gate/gate_sources2/root/lib/libThread.so<br class="">
(0x00007f4f5acdb000)<br class="">
libdl.so.2 => /lib64/libdl.so.2 (0x0000003af2400000)<br class="">
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003af2800000)<br class="">
libSM.so.6 => /usr/lib64/libSM.so.6 (0x0000003afe000000)<br class="">
libICE.so.6 => /usr/lib64/libICE.so.6 (0x0000003afe400000)<br class="">
libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003af5000000)<br class="">
libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003af6000000)<br class="">
libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003af6c00000)<br class="">
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003afd400000)<br class="">
libm.so.6 => /lib64/libm.so.6 (0x0000003af2000000)<br class="">
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003af6400000)<br class="">
libc.so.6 => /lib64/libc.so.6 (0x0000003af1c00000)<br class="">
libz.so.1 => /lib64/libz.so.1 (0x0000003af2c00000)<br class="">
libpcre.so.0 => /lib64/libpcre.so.0 (0x0000003af3800000)<br class="">
/lib64/ld-linux-x86-64.so.2 (0x0000003af1800000)<br class="">
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x0000003afa800000)<br class="">
libssl.so.10 => /usr/lib64/libssl.so.10 (0x0000003b00800000)<br class="">
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x0000003af6800000)<br class="">
libuuid.so.1 => /lib64/libuuid.so.1 (0x0000003af7400000)<br class="">
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x0000003af5400000)<br class="">
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x0000003b00400000)<br class="">
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x0000003aff800000)<br class="">
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003afd800000)<br class="">
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x0000003aff400000)<br class="">
libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003af5800000)<br class="">
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x0000003affc00000)<br class="">
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003aff000000)<br class="">
libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003af3c00000)<br class="">
libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003af3400000)<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<blockquote type="cite" class="">1 mars 2016 kl. 18:03 skrev David Boersma <<a href="mailto:david.boersma@physics.uu.se" class="">david.boersma@physics.uu.se</a><br class="">
<<a href="mailto:david.boersma@physics.uu.se" class="">mailto:david.boersma@physics.uu.se</a>>>:<br class="">
<br class="">
Hi Gustaf,<br class="">
<br class="">
Which Ubuntu release are you using?<br class="">
<br class="">
I tried to reproduce your error on a Ubuntu 14.04 machine, also 64bit.<br class="">
Since you mentioned that you are using geant4 10.01.p03, which is<br class="">
relatively new (released Feb 5), I wondered if that is maybe the<br class="">
culprit. But it does not look like it, because I can build and run<br class="">
Gate v7.1 just fine with that release. So my bet is that the errors<br class="">
that you report are not due to Gate or Geant4 code.<br class="">
<br class="">
(I even tried building geant4 with multithreading enabled -- which one<br class="">
should NOT do for any production purposes because Gate is not yet<br class="">
ready for multithreading -- but even with MT-geant4 Gate can be built<br class="">
and it runs without linking errors, even though the results with MT<br class="">
are not to be trusted.)<br class="">
<br class="">
So...<br class="">
<br class="">
(1) Could you just quote the full output of ldd completely here in an<br class="">
e-mail (if the discussion below does not help you to solve it yourself)?<br class="">
<br class="">
The idea is that ldd tells you to which libraries an executable really<br class="">
gets linked. The results are sometimes surprising and instructive. For<br class="">
instance you mention that you used a bash script to set your<br class="">
environment correctly for building Gate, but maybe you still have<br class="">
similar settings for a different Geant4 version in your ~/.bash*<br class="">
files, which might create all kinds of havoc. The ldd utility can help<br class="">
to identify such issues.<br class="">
<br class="">
(2) The G4GammaParticipants size error makes me suspect that you maybe<br class="">
did not truly recompile from scratch (because its base class<br class="">
G4QGSParticipants depends on Random.hh, which has CLHEP-dependent<br class="">
code, so that class may indeed change size during a rebuild). Running<br class="">
'make clean' is not enough. "From scratch" means: start with a new,<br class="">
empty build directory, and run ccmake <sourcedir> in it. Why is this<br class="">
necessary? Well, cmake and make are very clever at keeping track of<br class="">
dependencies, but that is a very hard task and they are not perfect.<br class="">
<br class="">
(3) I am very mystified by this _ZN12G4AllocStats6numCatE error. With<br class="">
the c++filt utility you can see that this is indeed pointing to the<br class="">
numCat data member of G4AllocStats, which gets *declared* in the<br class="">
Geant4 source tree in this header file:<br class="">
<br class="">
./source/geometry/volumes/include/G4EnhancedVecAllocator.hh<br class="">
<br class="">
... but the funny thing is that this header file does not get included<br class="">
by *any* other source file, neither in the geant4 10.01.p03 sources<br class="">
nor in Gate 7.1 [1]! The only way I can think of this error to pop up<br class="">
is by confusion with a different geant4 version. Do you have other<br class="">
geant4 versions installed on your system?<br class="">
<br class="">
Hope that helps,<br class="">
David B.<br class="">
<br class="">
[1] It is mentioned in the sources.cmake file as a header file, of<br class="">
course. But that does not cause it to actually be #included anywhere.<br class="">
The 4.9.6 release notes mention that the use of G4EnhancedVecAllocator<br class="">
is disabled in some navigation class, and probably that was the only<br class="">
usage. Which suggests that the impostor Geant4 library on your system<br class="">
is older than 4.9.6. :)<br class="">
<br class="">
<br class="">
<br class="">
Den 01/03/2016 kl. 13:22, skrev Gustaf Lönn:<br class="">
<blockquote type="cite" class="">Hello!<br class="">
<br class="">
First of all I want to express my gratitude for all the valuable help so<br class="">
far.<br class="">
<br class="">
I did a full recompile from scratch linked Gate to the correct G4. I<br class="">
still receive the symbol errors previously posted.<br class="">
<br class="">
I’m not sure on how I should interpret the results from the ldd command.<br class="">
<br class="">
//<br class="">
Gustaf<br class="">
<blockquote type="cite" class="">1 mars 2016 kl. 11:50 skrev David Sarrut<br class="">
<<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" class="">David.Sarrut@creatis.insa-lyon.fr</a><br class="">
<<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" class="">mailto:David.Sarrut@creatis.insa-lyon.fr</a>><br class="">
<<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" class="">mailto:David.Sarrut@creatis.insa-lyon.fr</a>>>:<br class="">
<br class="">
Hello,<br class="">
<br class="">
maybe still a linking error. Be sure to recompile everything from<br class="">
scratch and be sure Gate is linked with the correct G4 only ...<br class="">
<br class="">
Check with ldd to List Dynamic Dependencies of an executable, it could<br class="">
help<br class="">
<br class="">
David<br class="">
<br class="">
On Tue, Mar 1, 2016 at 11:29 AM, Gustaf Lönn <<a href="mailto:gustaflo@kth.se" class="">gustaflo@kth.se</a><br class="">
<<a href="mailto:gustaflo@kth.se" class="">mailto:gustaflo@kth.se</a>><br class="">
<<a href="mailto:gustaflo@kth.se" class="">mailto:gustaflo@kth.se</a>>> wrote:<br class="">
<br class="">
  Hello!<br class="">
<br class="">
  I tried to recompile both G4 and Gate without the external clhep.<br class="">
  That took care of the initial library error. However, I received<br class="">
  the following error when trying to run Gate:<br class="">
<br class="">
  Symbol `_ZTV19G4GammaParticipants' has different size in shared<br class="">
  object, consider re-linking<br class="">
  Gate: symbol lookup error: Gate: undefined symbol:<br class="">
  _ZN12G4AllocStats6numCatE<br class="">
<br class="">
  I think ”GammaParticipants" originate from G4GammaParicipants.hh<br class="">
  and ”AllocStats" from G4EnhancedVectorAllocator.hh<br class="">
<br class="">
  In my bash script I removed the path and library path associated<br class="">
  with system clhep, otherwise it is unchanged.<br class="">
<br class="">
  any ideas?<br class="">
<br class="">
  //Gustaf<br class="">
<blockquote type="cite" class="">  1 mars 2016 kl. 08:01 skrev David Sarrut<br class="">
  <<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" class="">David.Sarrut@creatis.insa-lyon.fr</a><br class="">
<<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" class="">mailto:David.Sarrut@creatis.insa-lyon.fr</a>><br class="">
  <<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" class="">mailto:David.Sarrut@creatis.insa-lyon.fr</a>>>:<br class="">
<br class="">
  Hello,<br class="">
<br class="">
  it should be a path issue. The simplest way is to use the G4<br class="">
  embedded clhep and to not use external clhep. Once G4 is<br class="">
  compiled, recompile Gate, without external clhep also.<br class="">
<br class="">
  hope it helps,<br class="">
  David<br class="">
<br class="">
  On Mon, Feb 29, 2016 at 6:52 PM, Gustaf Lönn <<a href="mailto:gustaflo@kth.se" class="">gustaflo@kth.se</a><br class="">
<<a href="mailto:gustaflo@kth.se" class="">mailto:gustaflo@kth.se</a>><br class="">
  <<a href="mailto:gustaflo@kth.se" class="">mailto:gustaflo@kth.se</a>>> wrote:<br class="">
<br class="">
      Hello!<br class="">
<br class="">
      I have encountered a problem with the CLHEP libraries when<br class="">
      I’m trying to run Gate. Instead of searching for the external<br class="">
      2.2.0.4 CLHEP library the program wants to use the libG4chlep<br class="">
      and therefore terminates. I use x86 Ubuntu 64bit.<br class="">
<br class="">
      I have followed the installation/compilation instructions and<br class="">
      set the external CLHEP options to ”on” and set the following<br class="">
      paths:<br class="">
<br class="">
      Geant4<br class="">
      CLHEP_CONFIG_EXECUTABLE:<br class="">
      /home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config<br class="">
      CLHEP_INCLUDE_DIR:<br class="">
      /home/gate/gate_sources2/2.2.0.4-install/include<br class="">
      CLHEP_LIBRARY:<br class="">
      /home/gate/gate_sources2/2.2.0.4-install/lib/libCLHEP.so<br class="">
<br class="">
      Gate<br class="">
      CLHEP_CONFIG_EXECUTABLE:<br class="">
      /home/gate/gate_sources2/2.2.0.4-install/bin/clhep-config<br class="">
      CLHEP_INCLUDE_DIR:<br class="">
      /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<br class="">
      PATH=$PATH:/home/gate/gate_sources2/2.2.0.4-install/bin:<br class="">
      /home/gate/gate_sources2/2.2.0.4-install/include<br class="">
<br class="">
      export<br class="">
<br class="">
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<br class="">
      /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<br class="">
<br class="">
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<br class="">
      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="mailto:Gate-users@lists.opengatecollaboration.org" class="">mailto:Gate-users@lists.opengatecollaboration.org</a>><br class="">
      <<a href="mailto:Gate-users@lists.opengatecollaboration.org" class="">mailto:Gate-users@lists.opengatecollaboration.org</a>><br class="">
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" class="">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br class="">
<br class="">
<br class="">
<br class="">
<br class="">
  --<br class="">
  David Sarrut, Phd<br class="">
  Directeur de recherche CNRS<br class="">
  CREATIS, UMR CNRS 5220, Inserm U1206<br 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 <<a href="tel:04%2078%2078%2051%2051" class="">tel:04%2078%2078%2051%2051</a>> / 06 74 72 05<br class="">
  42 <<a href="tel:06%2074%2072%2005%2042" class="">tel:06%2074%2072%2005%2042</a>><br class="">
<a href="http://www.creatis.insa-lyon.fr/~dsarrut" class="">http://www.creatis.insa-lyon.fr/~dsarrut</a><br class="">
  _________________________________<br class="">
   "2 + 2 = 5,  for extremely large values of 2"<br class="">
  _________________________________<br class="">
</blockquote>
<br class="">
<br class="">
<br class="">
<br class="">
--<br class="">
David Sarrut, Phd<br class="">
Directeur de recherche CNRS<br class="">
CREATIS, UMR CNRS 5220, Inserm U1206<br 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" class="">http://www.creatis.insa-lyon.fr/~dsarrut</a><br class="">
_________________________________<br class="">
"2 + 2 = 5,  for extremely large values of 2"<br class="">
_________________________________<br class="">
</blockquote>
<br class="">
<br class="">
<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="mailto:Gate-users@lists.opengatecollaboration.org" class="">mailto:Gate-users@lists.opengatecollaboration.org</a>><br class="">
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" class="">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br class="">
<br class="">
</blockquote>
_______________________________________________<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="mailto:Gate-users@lists.opengatecollaboration.org" class="">mailto:Gate-users@lists.opengatecollaboration.org</a>><br class="">
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" class="">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote>
</blockquote>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>