I recently installed gfortran and tried to run a code. However, I received a note
ld: library not found for -lSystem collect2: error: ld returned 1 exit stat