You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Powershell Core (7.1.3) and (7.2.0-preview.7) crashing on Ubuntu 21.04 - no usable libssl #15608
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!)
Activity
toeserve commentedon Jun 20, 2021
I can confirm this. Ubuntu 21.04. Did snap install powershell. I get error no libssl found. Then core dump.
megamorf commentedon Jul 5, 2021
Related to #15567, #15101 and #15029
kilasuit commentedon Jul 5, 2021
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
However there is this request for it to be supported #15702
lucyllewy commentedon Sep 1, 2021
There are symlinks in the snap package at
opt/powershell/libcrypto.so.1.0.0andopt/powershell/libssl.so.1.0.0which point relatively tousr/lib/[architecture-triplet]/libcrypto.so.1.0.0andusr/lib/[architecture-triplet]/libssl.so.1.0.0respectively. 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!)