Skip to content

Powershell Core (7.1.3) and (7.2.0-preview.7) crashing on Ubuntu 21.04 - no usable libssl #15608

Closed
PowerShell/PowerShell-Snap
#76

Description

Steps to reproduce

Powershell and Powershell-Preview installed as snaps on Ubuntu 21.04
Screenshot from 2021-06-18 13-54-01

Expected behavior

Powershell enters interactive mode.

Actual behavior

Powershell crashes with the message:
"No usable version of libssl was found
Aborted (core dumped)"

Environment data

Screenshot from 2021-06-18 14-04-11

Activity

  1. added
    Needs-Triage
    on Jun 18, 2021
  2. toeserve commented on Jun 20, 2021

    @toeserve

    I can confirm this. Ubuntu 21.04. Did snap install powershell. I get error no libssl found. Then core dump.

  3. added
    WG-Maintainers-Build
    on Jun 21, 2021
  4. megamorf commented on Jul 5, 2021

    @megamorf
    Contributor

    Related to #15567, #15101 and #15029

  5. kilasuit commented on Jul 5, 2021

    @kilasuit
    Collaborator

    From the docs Ubuntu 21.04 is not currently supported - https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7.1

    image

    Information about installing PowerShell on various Linux distributions

    However there is this request for it to be supported #15702

  6. lucyllewy commented on Sep 1, 2021

    @lucyllewy

    There are symlinks in the snap package at opt/powershell/libcrypto.so.1.0.0 and opt/powershell/libssl.so.1.0.0 which point relatively to usr/lib/[architecture-triplet]/libcrypto.so.1.0.0 and usr/lib/[architecture-triplet]/libssl.so.1.0.0 respectively. The snap does not include the two files referenced, so the symlinks are broken. This is likely causing issues elsewhere and the only reason it works at all on some distros is because due to classic confinement the linker can find a usable library from the host (which is bad snap practice!)

  7. ghost removed
    Needs-Triage
    on Sep 23, 2021
  8. added
    Issue-Question
    Resolution-Fixed
    on Sep 24, 2021
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-QuestionResolution-FixedWG-Maintainers-Build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions