要安装 WRF -ARW ,我遇到了 glibc
的问题。. 就像我试过的那样
gfortran TEST_1_fortran_only_fixed.f &&./a.out
我收到以下错误 :
/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/gcc@11/11.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/11/liblto_plugin.so: error loading plugin: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/linuxbrew/.linuxbrew/Cellar/gcc@11/11.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/11/liblto_plugin.so) collect2: error: ld returned 1 exit status
我有 GLIBC 2.31,
ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty, not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper.
当我搜索更新 lib 时,我收到了来自各处的警告,
The libraries shipped by glibc have a lot of reverse dependencies, and an upgrade would probably trigger a need to rebuild quite a few other packages.
那么解决此问题的最佳解决方案是什么? 任何帮助将不胜感激。. TIA