Similar issue on Ubuntu resolved in this S/O post. That one had a libgfortran3-dev library that was in a location other than expected and had to be linked to where it was expected . Can’t speculate on what the REHL differences might be, but maybe thi will get you started.