Non finding G4processes.so despite finding other libraries

Please fill out the following information to help in answering your question, and also see tips for posting code snippets

Geant4 Version: 4.10.7.4
Operating System: Ubuntu 20.4
Compiler/Version: gcc 9.4.0


Hello, I have tried to install G4.10.7.4 linked to root 6.24.02 all forcing cxx14 by CMAKE. I then compile my application in the same way (CMAKE using those two correct local installs of G4 and ROOT) forcing cxx14. I get a successful compile, but with a binary that immediately fails. When I run ldd on the binary I get:

villaa@hal9000:~/k100Sim-build2$ ldd k100Sim 
	linux-vdso.so.1 (0x00007fffceb58000)
	libG4interfaces.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4interfaces.so (0x00007f8542b76000)
	libG4physicslists.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4physicslists.so (0x00007f85429bf000)
	libCore.so.6.24 => /home/villaa/new-roots/ROOT-6-24-02-U20/root/lib/libCore.so.6.24 (0x00007f854249f000)
	libRIO.so.6.24 => /home/villaa/new-roots/ROOT-6-24-02-U20/root/lib/libRIO.so.6.24 (0x00007f85420ad000)
	libTree.so.6.24 => /home/villaa/new-roots/ROOT-6-24-02-U20/root/lib/libTree.so.6.24 (0x00007f8541f12000)
	libG4run.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4run.so (0x00007f8541e7e000)
	libG4event.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4event.so (0x00007f8541e01000)
	libG4tracking.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4tracking.so (0x00007f8541db1000)
	libG4digits_hits.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4digits_hits.so (0x00007f8541cd7000)
	libG4particles.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4particles.so (0x00007f8541bb0000)
	libG4geometry.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4geometry.so (0x00007f85418b2000)
	libG4materials.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4materials.so (0x00007f85417cc000)
	libG4graphics_reps.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4graphics_reps.so (0x00007f8541780000)
	libG4intercoms.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4intercoms.so (0x00007f854170a000)
	libG4global.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4global.so (0x00007f8541693000)
	libG4clhep.so => /home/villaa/install/geant4/geant4-v10.7.4-install/lib/libG4clhep.so (0x00007f85415f0000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f85413ee000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f854129d000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8541282000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8541090000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f854106d000)
	libG4processes.so => not found
	libG4track.so => not found
	libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f8540fc2000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8540fbc000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f8542c4a000)
	libThread.so.6.24 => /home/villaa/new-roots/ROOT-6-24-02-U20/root/lib/libThread.so.6.24 (0x00007f8540f51000)
	libImt.so.6.24 => /home/villaa/new-roots/ROOT-6-24-02-U20/root/lib/libImt.so.6.24 (0x00007f8540f3e000)
	libNet.so.6.24 => /home/villaa/new-roots/ROOT-6-24-02-U20/root/lib/libNet.so.6.24 (0x00007f8540e59000)
	libG4processes.so => not found
	libG4track.so => not found
	libG4processes.so => not found
	libG4track.so => not found
	libG4zlib.so => not found
	libtbb.so.2 => /home/villaa/new-roots/ROOT-6-24-02-U20/root/lib/libtbb.so.2 (0x00007f8540e12000)
	libMultiProc.so.6.24 => /home/villaa/new-roots/ROOT-6-24-02-U20/root/lib/libMultiProc.so.6.24 (0x00007f8540e03000)
	libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f8540d70000)
	libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f8540a99000)

My question is, How are many of the geant4 libraries being found and pointed to correctly but not some of them, like G4processes.so? I checked, the shared library exists the compilation or runtime locating of that file just isn’t working somehow.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.