Skip to content

libcurl dependency on openSUSE #6184

Description

@Arnavion

From docs/installation/linux.md:

Note: When installing PowerShell Core, OpenSUSE may report that nothing provides libcurl. libcurl should already be installed on supported versions of OpenSUSE. Run zypper search libcurl to confirm. The error will present 2 'solutions'. Choose 'Solution 2' to continue installing PowerShell Core.

  1. If the intention is that the user should choose the break powershell-6.0.1-1.rhel.7.x86_64 by ignoring some of its dependencies option, then describing the option text explicitly ("Choose the solution to ignore dependencies and install the package anyway.") would be better. I don't believe zypper has to deterministically give that one as "Solution 2" and it's a vague instruction anyway.

  2. It would be better to tell users to run zypper search --provides --match-exact '/usr/lib64/libcurl.so.4' instead of just zypper search libcurl to verify that they have the required library. The current command finds all packages that have libcurl in the name. While it's obvious which package the user should be looking for, there's no reason to be vague about it.

  3. I assume this situation happens because you reuse the RHEL package for openSUSE and RHEL's libcurl package provides "libcurl". Why not make a separate package for openSUSE that requires "libcurl4" so that this workaround is not needed in the first place?

Activity

  1. iSazonov commented on Feb 18, 2018

    @iSazonov
    Collaborator

    Perhaps we'll use .Net Core 2.1 in the next release and the behavior can be changed.

  2. added
    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassif
    on Feb 18, 2018
  3. markekraus commented on Feb 18, 2018

    @markekraus
    Contributor

    Ilya (@iSazonov) are they for sure going to have the managed HTTP solution baked into .NET Core 2.1.x? I tried to figure out where they were at on that, but was only able to find vague mentions of it.
    I will be very happy to be rid of this painful relationship with libcurl.

  4. iSazonov commented on Feb 19, 2018

    @iSazonov
    Collaborator

    I believe we could ask them directly about managed httpclient. Previously I saw md file about this.
    I also saw a recent PR which makes searching for *.so more reliable.

  5. Arnavion commented on Mar 5, 2018

    @Arnavion
    Author

    (Note that (1) and (2) are doc fixes and could be done now.)

  6. iSazonov commented on Mar 5, 2018

    @iSazonov
    Collaborator

    Arnav Singh (@Arnavion) Feel free to create PR.

  7. Arnavion commented on Mar 8, 2018

    @Arnavion
    Author

    Opened a PR.

  8. Arnavion commented on Apr 11, 2018

    @Arnavion
    Author

    Perhaps we'll use .Net Core 2.1 in the next release and the behavior can be changed.

    are they for sure going to have the managed HTTP solution baked into .NET Core 2.1.x? I tried to figure out where they were at on that, but was only able to find vague mentions of it.

    FYI, the blog post for 2.1.300-preview2 says it has the managed HTTP implementation.

  9. iSazonov commented on Apr 12, 2018

    @iSazonov
    Collaborator

    Arnav Singh (@Arnavion) Thanks for the reference! It is good news.

    Dongbo Wang (@daxian-dbw) Steve Lee (@SteveL-MSFT) .Net Core 2.1 Preview2 is released. Seems they fixed tons bugs. Is we ready to migrate?

  10. SteveL-MSFT commented on Apr 12, 2018

    @SteveL-MSFT
    Member

    I think we should move to Preview2 before our next 6.1 Preview release

  11. iSazonov commented on Apr 12, 2018

    @iSazonov
    Collaborator

    Tracking Issue #6632

  12. Arnavion commented on May 30, 2018

    @Arnavion
    Author

    Since the 2.1 port was done and 2.1 was released today, I assume it's final that the next PS major release will use it? If so, should this issue target 1) removing the libcurl required dependency from the RHEL rpm package, and 2) removing the note in the OP from the docs?

  13. iSazonov commented on May 31, 2018

    @iSazonov
    Collaborator

    Arnav Singh (@Arnavion) We is already on 2.1 RC1 :-) And yes, next release will be on 2.1.
    We have to review our packaging and doc. Feel free to contribute!
    I believe docs should be updated for only new version 6.1 not 6.0.

  14. Arnavion commented on Nov 28, 2018

    @Arnavion
    Author

    This is done now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-ExternalThe issue is caused by external component(s).Resolution-FixedThe issue is fixed.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions