I have installed gcc-fortran on arch linux
When try to compile a hello world program with gfortran helloWorld.f90
, where this file is just
Program Hello
Print *, "Hello World!"
End Program Hello
I get:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/f951: error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory
Is this a missing component of gcc? I guess libmpfr is somehow missing? I see gcc-libs is installed.