openSUSE上.net core 2.2因为找不到合适的libssl而不能创建项目的解决办法

解决办法来自:https://github.com/dotnet/core-setup/issues/3931

在openSUSE上弄好了.net Core SDK之后

输入命令:

dotnet new xxxx

回车,如果出现如下问题:

No usable version of the libssl was found
Aborted (core dumped)

这是因为openSUSE上的libopenssl是1.1.0的,对于.net Core环境来说太新了,解决办法是安装一个1.0.0的旧版本libopenssl:

zypper in libopenssl1_0_0

然后就可以愉快地开始工作了。

你可能感兴趣的:(Linux,SUSE,.net,Core,Linux,openSUSE,libssl)