When attempting to recompile an app that is currently running on Redhat 7.9 to new platform running AlmaLinux 8 the following error occurs:
/usr/bin/ld: cannot find -lgfortrancollect2: error: ld returned 1 exit statusmake: [pest.mak:307: pest] Error 1
But Fortran, GCC, and G++ are installed as shown here:
[XXX@ip-0A000006 ~]$ gcc --versiongcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-16)Copyright (C) 2018 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[XXX@ip-0A000006 ~]$ which gcc/usr/bin/gcc[XXX@ip-0A000006 ~]$ gfortran --versionGNU Fortran (GCC) 8.5.0 20210514 (Red Hat 8.5.0-16)Copyright (C) 2018 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[XXX@ip-0A000006 ~]$ which gfortran/usr/bin/gfortran[XXX@ip-0A000006 ~]$ which g++/usr/bin/g++[XXX@ip-0A000006 ~]$ g++ --versiong++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-16)Copyright (C) 2018 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I appreciate any insights you folks can offer.