Situation:
In Fedora 42, the regular ROOT and PYTHIA8 installations work together, as they should. Now I have locally cloned the PYTHIA8 source, modified the code, compiled and thus /usr/lib64/libpythia8.so -> libpythia8-8.3.14.so was replaced with the new /usr/lib64/libpythia8.so and then rebuilt /usr/bin/root from locally cloned source with
Problem: ROOT is apparently not using this new version of the libpythia8.so . Note that propagation of such a modification of the PYTHIA8 code in Fedora 41 was transparent, meaning that ROOT was picking up the modified libpythia8.so automatically, without any actions.
Question:
How can I get ROOT to use a modified libpythia8.so library in Fedora 42?
Thank you for starting the investigation. My $LD_LIBRARY_PATH in the shell where I’m trying to run my macro contains /usr/lib64. The macro runs, but PYTHIA8 complains about too low energy, while in the recompiled /usr/lib64/libpythia8.so this should not happen. Exactly that code was running successfully in Fedora 41. Tested. That’s the particular oddity I’ve encountered in Fedora 42.
So let me underscore once more, that probing the possible solution makes sense only in Fedora 42.
Here is an oriented towards this use case solution.
Use case:
In Fedora 42, having regular system-wide ROOT and PYTHIA8 installations, be able to use a modified private PYTHIA8 code with the intact system-wide ROOT.