CoreCLR crash in SLES 11 SP3
Hi! I try to install dotnet core in SUSE Linux Enterprise Server 11 SP3.
After installing dependencies I have an error, when I try execute command:
dotnet --version
or
dotnet new
Failed to initialize CoreCLR, HRESULT: 0x80131500.
For install I use instruction from https://www.microsoft.com/net/core#opensuse:
sudo zypper install libunwind libicu
curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?LinkID=816867
sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
sudo ln -s /opt/dotnet/dotnet /usr/local/bin
PS: SUSE Linux Enterprise Server 11 SP3 is officialy supported? Or only openSUSE 13.2?
@FZ14 for now, as the roadmap shows, openSUSE 13.2 is the supported version. However, just to be sure about the failure, can you tell me what kernel version does SLES 11 SP3 come with?
@blackdwarf
uname -r
3.0.76-0.11-default
@FZ14, would be nice to also attach (or share via a gist) the strace output: sudo zypper install strace && strace dotnet new &> dump.
/cc @gkhanna79 @schellap for the failure. We know that there is a problem on 4.6.x family of kernels, but I'm not sure about the 3.x family.
The hresult corresponds to a managed exception being thrown. @janvorli Can you PTAL?
I'll take a look. I am installing openSUSE now.
It looks like the instructions are missing the libicu prerequisity. The failure is due to the failure to load System.Globalization.Native.so. Running ldd on the System.Globalization.Native.so gets the following, see the "not found":
janvorli@janvorli-suse:~/test> ldd /opt/dotnet/shared/Microsoft.NETCore.App/1.0.0/System.Globalization.Native.so
linux-vdso.so.1 (0x00007ffc774fd000)
libicuuc.so.53.1 => not found
libicui18n.so.53.1 => not found
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f7c62858000)
libm.so.6 => /lib64/libm.so.6 (0x00007f7c62557000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7c6233f000)
libc.so.6 => /lib64/libc.so.6 (0x00007f7c61f98000)
/lib64/ld-linux-x86-64.so.2 (0x000055586435f000)
Actually, I am sorry. The libicu is in the instructions. But the version installed on suse is 52.1 while the System.Globalization.Native.so refers to 53.1
Installing libicu53_1-ledata (https://software.opensuse.org/package/libicu53_1-ledata) and libicu53_1-53 (https://software.opensuse.org/package/libicu53_1) fixed the problem.
@janvorli I will update the instructions then. Are both of the mentioned required?
Yes, the libicu53_1-ledata is a prerequisity for installing the actual libicu53_1
@janvorli wouldn't zipper then install the both? Also, wait...this is not required for OpenSUSE 13.2, right?
I am not familiar with openSUSE very much, so I might have done it in a too complex way. I have tried to install the libicu53_1 from the opensuse 13.2 machine using the "1 click install" on the page https://software.opensuse.org/package/libicu53_1, but the installation has failed for some reason. But I guess it could have been due to some other issue.
What do you mean by "this is not required for OpenSUSE 13.2"? The libicu53_1 is required for it, the default one installed there is 52_1.
The issue specifies that this is a different version of SUSE (and edition), so that's why I asked.
I've tested out SUSE getting started instructions multiple time(s) and never hit this error so I'm wondering what is happening. Thanks, Z
Sent from my tricorder
From: Jan Vorlicek <[email protected]mailto:[email protected]> Sent: Tuesday, July 19, 2016 5:02 PM Subject: Re: [dotnet/cli] CoreCLR crash in SLES 11 SP3 (#3880) To: dotnet/cli <[email protected]mailto:[email protected]> Cc: Zlatko Knezevic <[email protected]mailto:[email protected]>, Mention <[email protected]mailto:[email protected]>
What do you mean by "this is not required for OpenSUSE 13.2"? The libicu53_1 is required for it, the default one installed there is 52_1.
You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dotnet/cli/issues/3880#issuecomment-233802239, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AC-H_Ab6hr0BquMxOSyn_YhcCSmJMdFLks5qXWWQgaJpZM4JOZo6.
Looks like the root issue was resolved and docs will be updated. Thanks folks.
Hi! SLES 11 SP3 will be supported in .NET Core 2.0?
Hi! SLES 11 SP3 will be supported in .NET Core 2.0?
the same question. But we have SLES 11 SP4. .NET Core 2.0.9 want libicu5 (Problem: nothing provides libicu52_1 needed by dotnet-runtime-deps-2.1-2.1.6-1.x86_64...) but SLES 11 have only libicu4 :( and I cant found libicu5