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.
GLIB : ERROR /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found
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
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.
Snap installs are no longer supported. Use one of these install methods.
https://devcenter.heroku.com/articles/heroku-cli
I tried upgrading my Linux version so it's now
You are barking up the wrong tree -- there is nothing wrong with your Linux installation.
Your problem comes from SNAP mixing up system libraries (libgtk3-nocsd.so.0 here) with a "custom" libc.so.6 (the /snap/core/current/lib/x86_64-linux-gnu/libc.so.6 here).
You should be able to just move /snap/core/current/lib/x86_64-linux-gnu out of the way, or at least remove libc.so.6, libpthread.so.0, libm.so.6, and other parts of GLIBC from it and run the binary.
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
Installed Void on a new machine this morning and ever since various applications have been complaining about libc.so.X / GLIBC_2.34 not found. I have glibc, glibc-devel, glibc-32bit and glibc-devel-32bit installed. All 2.32_2. Void repos tell me this is the latest version so what is up with my installation?
For example, something as basic as getent returns
getent: /usr/lib32/libc.so.6: version `GLIBC_2.34' not found (required by getent)
Another one
iconv: /usr/lib32/libc.so.6: version `GLIBC_2.34' not found (required by iconv)
Earlier wine was complaining too. Not sure how that went away though. Libc.so.6 exists in both /usr/lib and /usr/lib32 btw.