PowerShell crashes on Linux with only OpenSSL 1.1

Created on 3 Apr 2019  路  2Comments  路  Source: PowerShell/PowerShell

Actual behavior

PowerShell 6.2.0
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.

No usable version of the libssl was found
Aborted (core dumped)
[INFO]: Build PowerShell
Installing PowerShell build dependencies
WARNING: Could not find 'dotnet', appending /root/.dotnet to PATH.
WARNING: Still could not find 'dotnet', restoring PATH.
dotnet not present.  Installing dotnet.
WARNING: This script only removes prior versions of dotnet for Ubuntu 14.04 and OS X
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.504/dotnet-sdk-2.1.504-linux-x64.tar.gz
dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/2.1.504/dotnet-sdk-2.1.504-linux-x64.tar.gz
dotnet-install: Adding to current process PATH: `/root/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Installation finished successfully.
WARNING: Could not find 'dotnet', appending /root/.dotnet to PATH.
VERBOSE: Using configuration 'Release'
VERBOSE: Top project directory is /var/cache/acbs/build/acbs.odwgos_u/PowerShell-6.2.0/src/powershell-unix
VERBOSE: Using framework 'netcoreapp2.1'
Run dotnet restore /var/cache/acbs/build/acbs.odwgos_u/PowerShell-6.2.0/src/powershell-unix --runtime linux-x64 --verbosity quiet
No usable version of the libssl was found
Failed to restore /var/cache/acbs/build/acbs.odwgos_u/PowerShell-6.2.0/src/powershell-unix, retrying...
No usable version of the libssl was found
Failed to restore /var/cache/acbs/build/acbs.odwgos_u/PowerShell-6.2.0/src/powershell-unix, retrying...
No usable version of the libssl was found
Failed to restore /var/cache/acbs/build/acbs.odwgos_u/PowerShell-6.2.0/src/powershell-unix, retrying...
No usable version of the libssl was found
Failed to restore /var/cache/acbs/build/acbs.odwgos_u/PowerShell-6.2.0/src/powershell-unix, retrying...
No usable version of the libssl was found
Failed to restore /var/cache/acbs/build/acbs.odwgos_u/PowerShell-6.2.0/src/powershell-unix, retrying...
Execution of { dotnet restore $project $RestoreArguments } by build.psm1: line 545 failed with exit code 134
At /var/cache/acbs/build/acbs.odwgos_u/PowerShell-6.2.0/build.psm1:2061 char:17
+                 throw $errorMessage
+                 ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (Execution of { dotn\u2026 with exit code 134:String) [], RuntimeException
+ FullyQualifiedErrorId : Execution of { dotnet restore $project $RestoreArguments } by build.psm1: line 545 failed with exit code 134
Issue-Question OS-Linux Resolution-Answered

Most helpful comment

Doesn't happen on 6.2.3, closing.

All 2 comments

Can you re-check with latest PowerShell 7.0 build?

Doesn't happen on 6.2.3, closing.

Was this page helpful?
0 / 5 - 0 ratings