The executable is trying to load some unsigned libraries from /usr/local/opt/, that can't be loaded because it was signed with the hardened runtime enabled. Maybe there is a way to do a static build with that library included? I never used gfortran, so I can't help more than this.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags: