Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet --info hitting /lib64/ version `GLIBCXX_3.4.20' not found on Latest net8.0

See original GitHub issue

Describe the bug

After installing the latest 8.0 daily dotnet using the dotnet-install script onto a clean ubuntu-20.04 or ubuntu-22.04 image, running dotnet --info errors out with:

dotnet: /lib64/ version `GLIBCXX_3.4.20' not found (required by dotnet)
dotnet: /lib64/ version `GLIBCXX_3.4.21' not found (required by dotnet)

To Reproduce

On a clean ubuntu-22.04 image, download the script. Run: .\ -Architecture x64 -Channel 8.0 -Quality daily, Run: dotnet --info The failure should occur here.

Exceptions (if any)

dotnet: /lib64/ version `GLIBCXX_3.4.20' not found (required by dotnet)
dotnet: /lib64/ version `GLIBCXX_3.4.21' not found (required by dotnet)

Further technical details

Last known working SDK version: 8.0.100-preview.3.23178.7 Failing SDK version: 8.0.100-preview.4.23219.2

Thank you!

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

sbomercommented, Apr 21, 2023

For anyone else who hits this issue: .NET 8 drops support fer CentOS 7 (see the plan in CentOS 7 doesn’t have the newer glibc that we depend on.

LoopedBard3commented, Apr 21, 2023

Looks like this was being hit because the centOS container we were using doesn’t have the GLIBCXX versions in the default paths. I am not sure if they have them installed in general, but I found this on SO that somewhat indicates it does. To fix this we switched the containers we could to ubuntu 18.04 containers. Thanks for the help!

Read more comments on GitHub >

github_iconTop Results From Across the Web version `GLIBCXX_3.4.20' not found
Here's a solution for this problem in Ubuntu 16.04 sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get ...
Read more >
GLIBCXX_3.4.20 not found, how to fix this error?
The issue is almost always caused by your system not pointing to the right library. In my case, usually caused by pointing to...
Read more >
usr/lib64/ version `GLIBCXX_3.4.14' not found
Hi Everyone, I get a new code I have to improve, to run the code I have to do: make ./main_run <list_file
Read more >
lib64/ version `GLIBCXX_3.4.20' not found
/lib64/ version `GLIBCXX_3.4.20' not found. Latest response April 5 2022 at 9:36 AM. Hello. I'm trying to build and and install plv8 ...
Read more >
What is and GLIBCXX_3.4.20?
I am trying to install a R library which is failing with the error: /lib64/ version ``GLIBCXX_3.4.20'' not found.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found