0

To install WRF-ARW, I faced an issue with glibc. Like when I tried

gfortran TEST_1_fortran_only_fixed.f && ./a.out

I got the following error:

/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

I have 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.

When I searched to update the lib, I got the warning alert from everywhere saying,

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.

Then what is the best possible solution to fix this issue? Any help will be appreciated. TIA

falamiw
  • 101

0 Answers0