dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.48k stars 4.76k forks source link

Opensuse Tumbleweed - No usable version of the libssl was found #27113

Closed joshfree closed 2 years ago

joshfree commented 6 years ago

From @livarcocc on March 29, 2018 21:20

From @luisantoniojr on March 29, 2018 21:9

After a clean installation of opensuse tumbleweed, first thing i done, after update the system, was try to install dotnet sdk. So after follow this tutorial, https://www.microsoft.com/net/learn/get-started/linux/opensuse, i had this problem:

openssl is installed: teste@linux-my0x:~> sudo zypper search openssl i | libopenssl-1_1-devel | Development files for OpenSSL | pacote i+ | libopenssl-devel | Include Files and Libraries mandatory for Development | pacote i | libopenssl1_1 | Secure Sockets and Transport Layer Security | pacote i | openssl | Secure Sockets and Transport Layer Security | pacote i | openssl-1_1 | Secure Sockets and Transport Layer Security | pacote

Steps to reproduce

dotnet new

Expected behavior

list of all options like: new console, new webapi and so on...

Actual behavior

teste@linux-my0x:~> dotnet new No usable version of the libssl was found Aborted (recorded core image)

Environment data

dotnet --info output:

teste@linux-my0x:~> dotnet --info Ferramentas de Linha de Comando do .NET (2.1.101)

Product Information: Version: 2.1.101 Commit SHA-1 hash: 6c22303bf0

Runtime Environment: OS Name: opensuse OS Version: 20180326 OS Platform: Linux RID: linux-x64 Base Path: /usr/share/dotnet/sdk/2.1.101/

Microsoft .NET Core Shared Framework Host

Version : 2.0.6 Build : 74b1c703813c8910df5b96f304b0f2b78cdf194d

Copied from original issue: dotnet/cli#8939

Copied from original issue: dotnet/core-setup#3931

joshfree commented 6 years ago

From @livarcocc on March 29, 2018 21:20

This is a runtime native dependency issue. Moving to core-setup.

joshfree commented 6 years ago

From @omajid on March 29, 2018 22:22

Looks like openSUSE has picked up openssl 1.1, which is API and ABI incompatible with 1.0. Installing libopenssl1_0_0 (or the closest package) should fix things on tumbleweed.

joshfree commented 6 years ago

From @luisantoniojr on March 30, 2018 3:33

For all of you, thanks. Its worked. Just one comment, when i executed the command "dotnet run", after i created one project, i had a failure, "MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.". But this one i found the explanation here, https://github.com/dotnet/corefx/issues/26966, just run the command again with "TERM=xterm dotnet run".

joshfree commented 6 years ago

From @omajid on March 30, 2018 6:42

Thanks for verifying. @livarcocc Looks like we need to update our docs for Tumbleweed and future openSUSE versions.

joshfree commented 6 years ago

From @red0bear on August 4, 2018 2:53

dotnet new ....

Cannot get required symbol EC_KEY_set_public_key_affine_coordinates from libssl Abortado (imagem do núcleo gravada)

joshfree commented 6 years ago

@bartonjs this looks similar to Ubuntu 18.04. Can you PTAL and help update both the installation instructions and the developer guides for this?

wfurt commented 6 years ago

This should work now with daily (3.0) builds. Also note that 'Tumbleweed' is rolling target instead of specific snapshot. I think @luisantoniojr should give it try and we should close this one.

catlion commented 6 years ago

Same in Fedora 28, required package is compat-openssl10

joshfree commented 6 years ago

@bartonjs please also get the install / dev instructions updated accordingly

cc: @leecow

bartonjs commented 2 years ago

This is leftover from before we supported OpenSSL 1.0/1.1 in a hybrid model, and has no further action.