Problem with gfortran: unable to obtain libquadmath for Mac Big Sur


I recently bought the McBook Air with M1 processor and Big Sur as Os.

I am trying to build a library which requires gcc and gfortran.
I did not have gfotran, so I run a

brew install gcc

and then under the homebrew installing path

Code Block
/opt/homebrew/Cellar/ gcc/10.2.0_4/lib/gcc/10 :


I cannot find the libquadmath.dylib, even though libgfortran.dylib is there.

I also tried to download this

Nothing, I cannot seem to be able to have the libquadmath.dylib.

I am fairly new to all this, this is my first Mac, and I haven't been working with C++ (just Python).
I am sorry if this question looks rather silly, but I cannot seem to find a workaround.

Does anyone have had the same experience/problems?
Thanks a lot!
Problem with gfortran: unable to obtain libquadmath for Mac Big Sur
 
 
Q