.NET Core 2.1 SDK Linux x64 找不到可用的 libssl 版本 [英] .NET Core 2.1 SDK Linux x64 No usable version of the libssl was found
问题描述
我已经下载了 dotnet-core 二进制 SDK 数据包 (dotnet-sdk-2.1.400-linux-x64.tar.gz) 并想将它安装在我使用 LibreSSL 的 void-linux 系统上.在我运行 dotnet help
后,我得到了响应 找不到可用的 libssl 版本
并且执行被中止.
I have downloaded the dotnet-core binary SDK packet (dotnet-sdk-2.1.400-linux-x64.tar.gz) and want to install it on my void-linux system which uses LibreSSL. After i run dotnet help
i got the response No usable version of the libssl was found
and the execution gets aborted.
是否可以让 SDK 与 LibreSSL 一起运行或需要什么版本的 libssl?我无法弄清楚 ssl-library dotnet 与什么相关联.
Would it be possible to get the SDK running with LibreSSL or what version of the libssl is needed? I couldn't figure out to what ssl-library dotnet is linked.
推荐答案
LibreSSL is not supported at全部来自 .NET Core.
.NET Core 需要使用 OpenSSL 1.0 版.它甚至不支持 OpenSSL 1.1(API 和 ABI 与 OpenSSL 1.0 不兼容).Edit 2021:.NET Core 和 .NET >= 5 的最新版本现在支持 OpenSSL 1.1.也计划支持 OpenSSL 3.0.
.NET Core needs to use OpenSSL version 1.0. It does not even support OpenSSL 1.1 (which is API and ABI incompatible with OpenSSL 1.0). Edit 2021: Recent versions of .NET Core and .NET >= 5 support OpenSSL 1.1 now. Support for OpenSSL 3.0 is planned too.
.NET Core 实际上正在寻找(通过 dlopen
)许多匹配路径的文件排列,例如 /usr/lib(64)/libssl.so.*
.
.NET Core is actually looking (via dlopen
) for lots of permutations of files that would match paths like /usr/lib(64)/libssl.so.*
.
这篇关于.NET Core 2.1 SDK Linux x64 找不到可用的 libssl 版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!