My updated gfortran compiler is requiring libraries that are older than those that my previous version of gfortran required - how do I fix this?

195 views Asked by At

I updated the version of gfortran from GNU Fortran (GCC) 4.8.5 to version 6.3.0 in order to fix an issue with an ieee_arithmetic problem. When I did, I found that there was a whole set of new problems. The new compiler is requiring older libraries, for instance while the version gfortran 4.8.5 used libgmp.so.10, the gfortran 6.3.0 wants libgmp.so.3. Up to now we have been able to fix this by making a link that points from the name of the old library to the new library. While this has worked thus far, the list of libraries is getting long, and this is obviously not ideal. Is this a problem with the way that the compiler was installed? Is there a compiler flag that I am not recognizing that will fix this issue? Thanks for any help!

0

There are 0 answers