dotnet core RHEL-x64 publish output doesn't work with RHEL 6.x versions
See original GitHub issueWhen we build and publish self contained application with runtime identifier rhel-x64 and tried to use it on RHEL 6.x platform, we get following error
“dlopen failed to open the libcoreclr.so with error /lib64/libc.so.6: version `GLIBC_2.14’ not found”
If we publish with rhel.6-x64 identifier and use these published binaries, then it works correctly on RHEL 6.x platform.
We are using dotnet core SDK 2.1.3 RC1 build with runtime version 2.0.4 (which supports RHEL 6.x platform as per below link) https://github.com/dotnet/core/blob/master/Documentation/build-and-install-rhel6-prerequisites.md
We expect binaries published with portable runtime identifier to work for all versions of that specific platform.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
dotnet core RHEL-x64 publish output doesn't work with ...
dotnet core RHEL -x64 publish output doesn't work with RHEL 6.x versions #9438. Closed. AmeetShinde opened this issue on May 30, 2018 ·...
Read more >ASP.NET Core 1.1 Development on RedHat Enterprise ...
So it looks like rh-dotnetcore11 doesn't have the latest released version of .NET core command line. It doesn't. The original release of ....
Read more >NET Runtime Identifier (RID) catalog
Learn about the runtime identifier (RID) and how RIDs are used in . ... rhel-x64 (Superseded by linux-x64 for RHEL above version 6);...
Read more >Getting started with .NET on RHEL 8 .NET 6.0
When publishing an application for RHEL, Red Hat recommends using FDD, ... images work across different versions of Red Hat Enterprise Linux and...
Read more >Which .NET Core Runtime Download do you need? - Rick Strahl
If that doesn't work and you get an error, it means that .NET Core is not installed at all. dotnet.exe installs as part...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As I understand it, the cli artifacts for the
rhel-x64
RID are built on RHEL 7 (or similar) and require features in newer glibc. The cli artifacts for therhel.6-x64
RID are built on RHEL 6 (or similar) and do not require the newer features from glibc. Something built on a newer glibc is just not going to work on an older glibc.The flips side would be to build everything on RHEL 6 and use that as the base. Perhaps CoreCLR experts can explain why they didn’t do it that way - I am sure there are issues.
@janvorli Thanks for the detailed explanation. I am assuming that publish output bianries of our application with RID rhel.6-x64 wouldn’t work with RHEL 7.x, can you please confirm the same?