Skip to content

NET 7.0-preview.5: Compatibility question #71259

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

Closed
ww898 opened this issue Jun 24, 2022 · 4 comments
Closed

NET 7.0-preview.5: Compatibility question #71259

ww898 opened this issue Jun 24, 2022 · 4 comments

Comments

@ww898
Copy link
Contributor

ww898 commented Jun 24, 2022

Hi,

my question is about following error which I got after update .NET 7.0 from preview 4 to 5 on Ubuntu 16.04:

Failed to load /opt/buildAgent/system/.persistent_cache/dotnet-e59366/shared/Microsoft.NETCore.App/7.0.0-preview.5.22301.12/libhostpolicy.so, error: /usr/lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /opt/buildAgent/system/.persistent_cache/dotnet-e59366/shared/Microsoft.NETCore.App/7.0.0-preview.5.22301.12/libhostpolicy.so)

Surely, I have tested it on Ubuntu 18.04 and the issue is go out, but the question is still alive: was it conscious change or something was just updated by chance?

On the other hand, .NET 7.0 should work only on Ubuntu 22.04 because that was written here: https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#supported-distributions

The Ubuntu release cycle page said that the end of standard support:

  • April 2023 for 18.04 LTS (Bionic Beaver)
  • April 2025 for 20.04 LTS (Focal Fossa)

Does it mean that .NET 7.0 will be incompatible with 18.04 and 20.04 ? Could you please clarify the sutuation?

@ghost ghost added area-Meta untriaged New issue has not been triaged by the area owner labels Jun 24, 2022
@ghost
Copy link

ghost commented Jun 24, 2022

Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.

Issue Details

Hi,

my question is about following error which I got after update .NET 7.0 from preview 4 to 5 on Ubuntu 16.04:

Failed to load /opt/buildAgent/system/.persistent_cache/dotnet-e59366/shared/Microsoft.NETCore.App/7.0.0-preview.5.22301.12/libhostpolicy.so, error: /usr/lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /opt/buildAgent/system/.persistent_cache/dotnet-e59366/shared/Microsoft.NETCore.App/7.0.0-preview.5.22301.12/libhostpolicy.so)

Surely, I have tested it on Ubuntu 18.04 and the issue is go out, but the question is still alive: was it conscious change or something was just updated by chance?

On the other hand, .NET 7.0 should work only on Ubuntu 22.04 because that was written here: https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#supported-distributions

The Ubuntu release cycle page said that the end of standard support:

  • April 2023 for 18.04 LTS (Bionic Beaver)
  • April 2025 for 20.04 LTS (Focal Fossa)

Does it mean that .NET 7.0 will be incompatible with 18.04 and 20.04 ? Could you please clarify the sutuation?

Author: ww898
Assignees: -
Labels:

area-Meta

Milestone: -

@k15tfu
Copy link
Contributor

k15tfu commented Jun 24, 2022

By the way, I found these: #68561, dotnet/core#7437, #69361

@huoyaoyuan
Copy link
Member

As dotnet/core#7513, 18.04 will still be supported by .NET 7.

Surely, I have tested it on Ubuntu 18.04 and the issue is go out, but the question is still alive: was it conscious change or something was just updated by chance?

It should be intentional to adopt new system features, as long as the lowest declared version which is 18.04 works properly.

@jeffhandley
Copy link
Member

@ww898 With the updates in dotnet/core#7513, Ubuntu 18.04+ will be supported. I understood from your report that 18.04 was working as expected, but 16.04 was failing. I'll close the issue with that understanding, but please let me know if I misunderstood and we can reopen if 18.04 is not working for you.

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jul 12, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants