-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Couldn't find a valid ICU package installed on the system. #60439
Comments
@tarekgh may be able to help. |
@qyangaa this means the ICU library is not correctly installed on your system. could you please send the output of the execution steps https://github.com/dotnet/core/blob/master/Documentation/build-and-install-rhel6-prerequisites.md?rgh-link-date=2020-08-04T23%3A33%3A28Z#troubleshooting? |
@tarekgh If I may; I encountered the very same problem, using Debian 11 (currently the 'testing' version). This is following installation instructions as close as possible, using "snap" as per the debian dotnet install doc. I would have preferred using debian packages but this does not yet work for Debian 11 (actually, complained about not being able to find the libicu dependency to install).
FWIW ss a longtime .NET/mono developer but not active with it for a few years, I am a bit confused by the experience re-acquainting myself with the latest ecosystem. |
#43052 is specifically about this:
The rest of the comment seems to be about an issue with the .NET Snap, which I'm not very familiar with. |
Do you know who can help with it? CC @safern |
I got an installation working with the ICU working after noticing that reply and prior discussions. I thought at first read what was referred to was compilation from source but this is not and much simpler a process, so may be worth expanding here. This refers to the Manual Install option. Steps: Downloading the "Binaries" tarball for the SDK x64 of .NET core 3.1
export DOTNET_ROOT=$HOME/dotnet
export PATH=$PATH:$HOME/dotnet All seem to work well this way, |
As long as you have some version of the libicu binaries installed (from version 50 to 255 currently), .NET Core will find it and use it. The Debian package is just more restrictive because it has a list of specific package dependencies rather than a numeric range. |
:mips-interest |
Hi @qyangaa
If your RHEL icu version is 50.2, it is able to run We met the similar issue when porting to MIPS64. Fixed in 5.0.0. Thanks, |
Fix the error discovered in c2f034b Work around the issue described at dotnet/core#2186 and https://github.com/dotnet/core/issues/5019 Integrate the fix shared by @petrsvihlik at dotnet/core#2186 (comment)
Fix the `ICU package` error discovered in c2f034b Work around the issue described at dotnet/core#2186 and https://github.com/dotnet/core/issues/5019 Integrate the fix shared by @petrsvihlik at dotnet/core#2186 (comment)
Tagging subscribers to this area: @tarekgh, @safern Issue DetailsProblem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/run I followed https://github.com/dotnet/core/blob/master/Documentation/build-and-install-rhel6-prerequisites.md#troubleshooting
|
@safern I recall we have another issue tracking same snap problem. right? |
Yes we had this one: #54148 but it was closed as snap wasn't in our priorities (accordingly to the last message). cc: @NikolaMilosavljevic |
I had something similar happen to me on Archlinux, when the icu package was recently updated: https://github.com/archlinux/svntogit-packages/tree/36f4025b3bb8b0832b7ad452afe6bd605e894158/trunk I did something like: Thanks for the tip! |
This work for me! THX!!! But this has to be done before each call to the ICU. It feels like it's being overwritten by something. |
@daxxog This worked for me. Thanks! |
Thank you! For the Ubuntu, you can do the same:
|
Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/run
Operating System: linux
I followed https://github.com/dotnet/core/blob/master/Documentation/build-and-install-rhel6-prerequisites.md#troubleshooting
to install the package and change library path. But still doesn't work.
The text was updated successfully, but these errors were encountered: