[MacPorts] #58629: Geant4 Source Script Clashes With Root
MacPorts
noreply at macports.org
Sat Jun 22 05:37:58 UTC 2019
#58629: Geant4 Source Script Clashes With Root
---------------------------+----------------------
Reporter: StevenGreen1 | Owner: mojca
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: geant4.10.3 |
---------------------------+----------------------
Comment (by mojca):
Can you please explain a bit more what precisely you did, which versions
of Geant and ROOT you used, how you set them up, which shell you are using
etc.?
In general you should never need to modify paths for the sake of finding
libraries, let alone fiddle with `DYLD_LIBRARY_PATH` (that's a linux
thing; macOS has paths to libraries hardcoded in the binary, so you don't
need to have libraries in PATH).
A well-written CMake support should be all you need to get started with a
working simulation.
The only reason to ever need to source `geant4.sh` is to get the paths to
data files set up correctly, else you cannot use the data (I still
consider this to be a bug in Geant and I would probably send a patch to
automatically fetch the data from the default location if I had slightly
more time and if I was still using the software nowadays & had the
motivation to do so).
I now see that `DYLD_LIBRARY_PATH` is still modified in Geant4.10.3.;
maybe I should simply patch 4.10.3 to remove those few lines, or remove
Geant4.10.3 altogether. But unless you are using 4.10.3, I definitely need
more info about how you could have ended up in the conflict.
--
Ticket URL: <https://trac.macports.org/ticket/58629#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list