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.
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:
Use an older anki release (24.11 is the last one supported on that old GLIBC version).
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.
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).
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.