Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22077

Why do recompile attempts fail with Makefile?

$
0
0

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.


Viewing all articles
Browse latest Browse all 22077

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>