I've got this error with buildroot-2022.11 when executing make.
Ubuntu 20.04 - added this repo as described in the link
sudo apt update
sudo apt install libc6
It automatically installed 2.35 for me.
Answer from mister_kanister on Stack OverflowI've got this error with buildroot-2022.11 when executing make.
Ubuntu 20.04 - added this repo as described in the link
sudo apt update
sudo apt install libc6
It automatically installed 2.35 for me.
In my case, replace FROM go:1.21 with FROM go:1.21.0-bullseye (docker) or try tinkering there.
version `GLIBC_2.34' not found when using the command code
How to solve /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34` not found
/usr/lib/libc.so.6: version `GLIBC_2.34' not found
glibc - `GLIBC_2.34' not found - Unix & Linux Stack Exchange
Hi, I have recently dualbooted my laptop so im still very much a linux noob and I installed VSCode with the ubuntu software app. When I try to open VSCode nothing happens, and if I use the code command I get the following error:
ERROR: ld.so: object '/usr/local/lib/x86_64-linux-gnu/libinput-config.so' from /etc/ld.so.preload cannot be preloaded (failed to map segment from shared object): ignored.
/snap/code/136/usr/share/code/bin/../code: /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/lib/x86_64-linux-gnu/libinput-config.so)
Can someone please help me? I googled it but I can't find a solution. Thanks in advance
Edit:
Fixed it by using sudo vim on the /etc/ld.so.preload file and deleting the line /usr/local/lib/x86_64-linux-gnu/libinput-config.so.
I installed gcc-objc and it seems upgrade the glibc version on my system. I used command: yay -S gcc-objc
Here is the log from /var/log/pacman.log
[2022-06-27T10:23:40+0800] [PACMAN] Running 'pacman -S --config /etc/pacman.conf -- gcc-objc' [2022-06-27T10:24:06+0800] [ALPM] transaction started [2022-06-27T10:24:06+0800] [ALPM] upgraded gcc-libs (11.1.0-1 -> 12.1.0-2) [2022-06-27T10:24:06+0800] [ALPM] installed libisl (0.24-4) [2022-06-27T10:24:12+0800] [ALPM] upgraded gcc (11.1.0-1 -> 12.1.0-2) [2022-06-27T10:24:12+0800] [ALPM] installed gcc-objc (12.1.0-2) [2022-06-27T10:24:13+0800] [ALPM] transaction completed
my glibc version:
$ ldd --version ldd (GNU libc) 2.33 Copyright (C) 2021 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.
Now, my applications are asking for 2.34
$ exa exa: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by exa) exa: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libgit2.so.1.4) exa: /usr/lib/libc.so.6: version `GLIBC_2.35' not found (required by /usr/lib/libgcc_s.so.1) exa: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libgcc_s.so.1)
How do I solve this issue.. thanks