Skip to content

Not working on systems with newer libicu. #5000

Closed

Description

@Marqin

Hello,

Most distributions ( Ubuntu, Arch, etc. ) moved to libicu 55. And System.Globalization.Native.so bundled with DNX coreclr does need to dynamically link libicu 52.

I see two possible solutions:

  1. Bundle libicu 52 with coreclr ( it's MIT licensed from what I see ).
  2. Build two versions of System.Globalization.Native.so and make DNX install that one which will be working on target distro ( check icu version ), or just name it differently and document in Install notes how to swap those .so.

Activity

  1. ellismg commented on Jan 24, 2016

    @ellismg
    Contributor

    We are on the (2) plan. The general idea is that we are producing packages of the native components which are specific to a target runtime identifier (which is per distro). DNX/dotnet cli are responsible for getting the correct packages pulled in at install time.

    We already produce packages for CentOS 7.1 (which uses an even earlier version of ICU) and will be adding more for other supported distros. Soon we should also have enough of the infrastructure needed for folks to produce their own version of these packages for distros the team does not official support.

    In the mean time, you can build System.Globalization.Native.so on your target platform and replace the version that ships with DNX/dotnet cli.

  2. krytarowski commented on Feb 17, 2016

    @krytarowski
    Contributor

    How do you plan to handle cases like pkgsrc? It's the base package manager in SmartOS, NetBSD, Minix etc - it's released quarterly and it's detached from the base in regards of package versions/release plan.

    For example NetBSD 7.0 can be used with pkgsrc-2015Q4 and soon pkgsrc-2016Q1. Will be there need to ship a matrix of 7.0-2015Q4, 7.0-2016Q1?

    $ pkg_info |grep icu
    icu-56.1            Robust and full-featured Unicode services
    
  3. sergiy-k commented on May 4, 2016

    @sergiy-k
    Contributor

    Hi @ellismg, can this issue be closed now or there is still work that needs to be done to address it?

  4. ellismg commented on May 4, 2016

    @ellismg
    Contributor

    We are executing on (2) and have already done this for other Linux distros we support. We don't yet have a strategy for rolling releases like pkgsource except that we hope the CLI and shared framework will make their way into these systems such that they can be rebuilt from source when dependencies are updated.

    The work we plan to do for RTM has already been done.

  5. sergiy-k commented on May 4, 2016

    @sergiy-k
    Contributor

    @ellismg, thank you. In this case, I'm going to move it out from RTM.

  6. gkhanna79 commented on Oct 25, 2016

    @gkhanna79
    Member

    @ellismg What are the next steps here?

  7. ellismg commented on Oct 25, 2016

    @ellismg
    Contributor

    dotnet/coreclr#7773 will address a fair amount of the pain here.

  8. gkhanna79 commented on Oct 25, 2016

    @gkhanna79
    Member

    @ellismg I dont believe we intend to take that change for 1.1.0.

  9. ellismg commented on Oct 25, 2016

    @ellismg
    Contributor

    @gkhanna79 Then push this out, dotnet/coreclr#7773 reflects the way we want to handle this.

  10. danmoseley commented on Apr 8, 2017

    @danmoseley
    Contributor

    @gkhanna79 is this planned for 2.0?

  11. janvorli commented on Apr 10, 2017

    @janvorli
    Member

    @danmosemsft I am not sure what's missing here. The dotnet/coreclr#7773 I've committed last October seems to handle the issue completely.

  12. danmoseley commented on Apr 10, 2017

    @danmoseley
    Contributor

    @janvorli great, I was just going through issues marked 2.0 that weren't clearly 2.0 work. If this is done, I'll close.

  13. danmoseley commented on Apr 10, 2017

    @danmoseley
    Contributor
  14. transferred this issue fromdotnet/coreclron Jan 30, 2020
  15. added this to the 2.0.0 milestone on Jan 30, 2020
  16. ghost locked as resolved and limited conversation to collaborators on Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions