Hi all! I had this problem: /usr/lib/libc.so.6: version `GLIBC_2.34’ not found (required by /usr/lib/libcurl.so.4) when calling any utilities using C, before that I updated several packages manually (I did not touch the library itself), after downloading the libraries, install with the commands:
sudo pacman -dU glibc-2.35-2-x86_64.pkg.tar.zst
sudo pacman -dU lib32-glibc-2.35-2-x86_64.pkg.tar.zst
failed because pacman gives the same error, please help
ls -lah /usr/lib/libc.so.6
lrwxrwxrwx 1 root root May 12 12 2021 /usr/lib/libc.so.6 → libc-2.33.so
This is what we call a “partial update” and it is wholly not supported on any Arch-based distro including EOS. Either upgrade everything at once or nothing at all.
Using pacman-static is probably the best solution. Just remember that after downloading it you need to call that binary explicitly so the system one doesn’t get used.
i.e. ./pacman-static or /home/igoryan/pacman-static
makepkg -si
==> Building package pacman-static 5.1.3-5 (Fri 12 Aug 2022 00:26:21)
==> Checking dependencies to run…
/usr/bin/pacman: /usr/lib/libc.so.6: version `GLIBC_2.34’ not found (required by /usr/lib/libcurl.so.4)
==> ERROR: ‘pacman’ exited with a fatal error (1):