当我打开Unity并进行一些项目时,错误就会出现。找不到可用版本的libssl。
我是Linux Ubuntu的新手。我正在使用Ubuntu 22.04。最近,我下载了Unity,并显示错误“未找到Libssl的可用版本”如何解决此问题,请帮助我! 我试图找到解决这个问题的解决方案,但我什么也没发现。 (我正在使用Linux,而我是Linux的新手) 。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
您需要下载丢失的libssl库并安装它
You need to download the missing libssl library and install it
ubuntu
For Ubuntu
此错误的原因在于不兼容的版本 在您的机器上打开SSL ,并且需要团结。 Ubuntu 22.04安装每个默认值打开SSL 3.0 ,但Linux的Unity当前使用 .net5 每个默认值,因此只能使用 打开SSL 1.0或1.1 < /strong> 。
要解决此问题,您需要将计算机上的开放式SSL降级到1.0或1.1。我从
我还从
Unity意识到此问题如See 在这里。
编辑:我必须重新启动计算机以使错误消失。
The reason for this error lies in incompatible versions of Open ssl on your machine and needed from Unity. Ubuntu 22.04 installs Open ssl 3.0 per default but Unity for Linux currently uses .Net5 per default and therefore can only run with Open ssl 1.0 or 1.1.
To fix this, you need to downgrade your Open ssl on your machine to either 1.0 or 1.1. I tested 1.0.2 version from the link Jeff Chen commented below rainman's answer.
I also tested the wget method from this answer over on askubuntu just with the downloaded package and it worked like a charm for me.
Unity is aware of this problem as seen here.
Edit: I had to restart my computer for the error to disappear.
您需要安装libssl1.1
原始GIST帖子:
You need to install libssl1.1
original gist post:
https://gist.github.com/joulgs/c8a85bb462f48ffc2044dd878ecaa786
您必须安装OpenSSL 1.1
下载并按以下步骤安装:
我不确定,但是您也可以设置
ln
:如果收到此错误:
使用此命令进行修复:
ldconfig
安装后You have to install the openssl 1.1
Download and Install it by the following steps:
I'm not sure but you can set
ln
too:and if you get this error:
fix it with this command:
ldconfig
after install统一2022.2.2存在问题。
与libssl3一起在Ubuntu 22.04上的运作良好
统一2021由于libssl3而无法在同一系统上工作
The problem doenst exist with Unity 2022.2.2.
Works great on Ubuntu 22.04 with libssl3
Unity 2021 doesnt work on same system because of libssl3
我知道这个问题是关于Ubuntu的,但是仅适用于可能正在谷歌搜索的任何人...在RHEL / CENTOS / ROCKY上,您可以安装:
这将根据需要安装库,以兼容与不支持OpenSSL 3的旧版应用程序。
I know this question is about Ubuntu, but just for anyone who might be Googling... On RHEL / CentOS / Rocky you can install:
This will install just the libraries as needed for compatibility with legacy applications that do not support OpenSSL 3.