Error after update to current Anki version (GLIBC version not found, required by anki – Linux Mint 20.3)

Ciao,
I am using Linux Mint 20.3 Una and recently upgraded to the current Anki version, without generating any error messages, but on running Anki from a command line the following errors are displayed:

anki: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.35' not found (required by anki) anki: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32’ not found (required by anki)
anki: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by anki) anki: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34’ not found (required by anki)

When I search in Synaptic the only reference that I can find to GLIBC is glibc-source 2.31 0ubuntu9.17.

Is the problem related to a missing library and if so please explain how the problem can be resolved.

Any suggestions much appreciated.

GLIBC is a very essential library for a lot of programs on linux. You seem to have version 2.31 installed. Anki does need a newer version though, which you do not have.

I’m assuming Linux Mint 20.3 is based on a stable release of ubuntu, which in turn is based on current debian oldstable. Debian oldstable doesn’t have newer versions of GLIBC though, which means all the derivatives (like ubuntu and mint) don’t have the newer versions either.

You only have the following solutions:

  1. Use an older anki release (24.11 is the last one supported on that old GLIBC version).
  2. Upgrade your distro, if possible. E.g. if you were using debian oldstable, you could upgrade to debian stable. Not sure if Mint 20.3 is the latest one though, so you might not be able to upgrade.
  3. Use another way of installation instead, like flatpak. Flatpak downloads a lot of dependencies and also installs a newer GLIBC (which only flatpak can use, the rest of your system would still be on the old version).

Edit: Also see the release notes of Release 25.02 · ankitects/anki · GitHub :

Linux builds now require glibc 2.35+.

1 Like

Linux Mint 20.x is no longer supported as of this month, so you should probably upgrade to version 21 or 22.

4 Likes

Thank you both for your responses.

It looks like the best solution is to upgrade Linux Mint to version 21 or 22 but for now I will try an older version of Anki.

Best regards.

1 Like

I have Anki working again in Linux Mint 20.3 after I uninstalled the current version and reinstalled Anki version 24.11. Eventually, I will upgrade to Linux Mint 22.1.

Best regards

1 Like