Sdk: dotnet requires specified libicu in fedora 24

Created on 19 Jul 2016  路  12Comments  路  Source: dotnet/sdk

Steps to reproduce

try to dotnet run in clearly installed fedora 24

Expected behavior

successfully runned project

Actual behavior

exception. need to install libicu from fedora 23

Environment data

dotnet --info output:
.NET Command Line Tools (1.0.0-preview2-003121)

Most helpful comment

F24 is not pre-release anymore. Are there any plans to support it, and if so any reference to look at?

All 12 comments

Which instructions did you follow to install the product? libicu is mentioned here as a prerequisite that needs to be installed:

https://www.microsoft.com/net/core#fedora

mellinoe, are you read my message above?

It looks like every dotnet binary package required specific version of libicu. I can install dotnet for rhel, or dotnet for opensuse just by coping libicu libraries from target linux distribution.

So, what the difference between libicu versions in each other linux distributions? And maybe we can have only one package for every rhel based distribution?

@r105m it is not all about difference in libicu versions, the question is about what version is shipped with a distribution of linux and coreclr must compile against that version to support that distro.

Name        : libicu
Arch        : x86_64
Epoch       : 0
Version     : 56.1
Release     : 4.fc24

I guess under FC23 it is libicu-54 instead of libicu-56.

We will take another look at dependencies once we add Fedora 24 support.

F24 is not pre-release anymore. Are there any plans to support it, and if so any reference to look at?

For Fedora 24 I've downloaded package from here: https://rpmfind.net/linux/RPM/fedora/23/x86_64/l/libicu-54.1-5.fc23.x86_64.html and install it using:
sudo dnf install libicu-54*.rpm --allowerasing

That resolves Failed to initialize CoreCLR, HRESULT: 0x80131500
Finally...

The error is solved, but it removes the gnome environment...

Technically, Fedora 24 is not currently a "supported distro". By that, I mean there aren't binary packages specifically built for it. The Fedora 23 packages are similar in some sense, but are not fully compatible with Fedora 24. This is why installing some Fedora 23 dependencies allows you to use those binaries. In the future, there will be packages which are correctly-built against the version of libicu that comes with Fedora 24.

I was working on bringing up "real support" for Fedora 24 along with Ubuntu 16.10 and openSUSE 42.1 (new versions of a few already-supported distros), but hit some snags with Fedora 24. So that work is a bit delayed, but is still on our radar to do. We are trying to get to a point where we can support "new distros" before or right when they officially release, but we're still improving that process. I believe Fedora 24 came out right before/after .NET Core 1.0 RTM did, so it slipped under the radar a bit.

Still same problem as of Fedora 25.

Was this page helpful?
0 / 5 - 0 ratings