'I can't run C# console application ( version `GLIBC_2.32' not found)

I am on Ubuntu 21.04 and running a C# console application in Jetbrains Rider. And it says:

/home/Door/RiderProjects/ConsoleApp1/ConsoleApp1/bin/Debug/net6.0/ConsoleApp1: /snap/core18/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /lib/x86_64-linux-gnu/libstdc++.so.6)

What is the problem? And how can I solve this?



Solution 1:[1]

I had the same problem few weeks ago and i think this helped me:

https://www.codegrepper.com/code-examples/shell/error+%2Flib%2Fx86_64-linux-gnu%2Flibc.so.6%3A+version+%60glibc_2.32%27+not+found

Maybe try to update your ubuntu version first, current is 22.04

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Szpur