I updated my system recently and went into a problem when loading some of the packages dependent on GCC. The error message I got when for example running library(psych) was:
’/home/daniel/R/x86_64-redhat-linux-gnu-library/3.4/mnormt/libs/mnormt.so’:
libgfortran.so.4: cannot open shared object file: No such file or directory
The reason to the problem is that my GCC was updated to version 8, and libgfortran to 5. To fix this issue I went to the directory above, and search for libgfortran.so.4 and changed in to libgfortran.so.5.
Lämna ett svar