-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet --info hitting /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found on Latest net8.0 #31893
Comments
@sbomer does this sound familiar? |
This is potentially related to dotnet/runtime#84148, which changed the minimum glibc and libstdc++. But Ubuntu 20.04 should provide compatible versions of these libraries. I am not seeing this problem with
In general, you'll need to install runtime dependencies including libstdc++, as in https://github.com/dotnet/dotnet-docker/blob/3bbd0b1b1f48f4c487a252a72fb894efd847549f/src/runtime-deps/8.0/jammy/arm64v8/Dockerfile#L7-L14. |
@LoopedBard3 could you compare the scenario that's failing with the steps in my dockerfile? |
I will take a look! The specific ubuntu image we use is the one from github so I will need to check what version is on it: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md |
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 https://stackoverflow.com/questions/44205687/glibcxx-3-4-21-not-found-on-centos-7 that somewhat indicates it does. To fix this we switched the containers we could to ubuntu 18.04 containers. Thanks for the help! |
For anyone else who hits this issue: .NET 8 drops support fer CentOS 7 (see the plan in dotnet/runtime#83428). CentOS 7 doesn't have the newer glibc that we depend on. |
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:
To Reproduce
On a clean ubuntu-22.04 image, download the dotnet-install.sh script.
Run:
.\dotnet-install.sh -Architecture x64 -Channel 8.0 -Quality daily
,Run:
dotnet --info
The failure should occur here.
Exceptions (if any)
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!
The text was updated successfully, but these errors were encountered: