Workaround for libssl issue on Ubuntu 22.04

Hi all. If when opening the editor on the new LTS 22.04 you get the error 'No useable version of libssl' it's due to a change in the libssl version.
The fix that worked for me was manually downloading the 'libssl1.0.0_1.0.2n-1ubuntu5.8_amd64.deb' package from http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/

NOTE: download the right version for your architecture

then, in the download location:
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.8_amd64.deb

restart the unity editor and hopefully you're back in the game.

42 Likes

Hi, I had the same problem and I fixed it. Additionally it can help to use the .NET 3.1 Version (just delete your current .net version and install the 3.1 one) and to delete your old libssl version.
libssl 1.1.1 also works with Unity 2021.3.1f1.

The issue right now is that we currently use .NET 5 in the Linux builds, which dynamically loads either OpenSSL 1.0 or 1.1. But Ubuntu 22.04 only includes OpenSSL 3.

We are definitely aware of it and are considering a few solutions.

8 Likes

Are guys able to install Plastic SCM on Ubuntu 22.04? It's currently the only issue that is preventing me from dropping Windows right now

[quote=“AlfieBooth_1”, post:1, topic: 879165]
Hi all. If when opening the editor on the new LTS 22.04 you get the error ‘No useable version of libssl’ it’s due to a change in the libssl version.
The fix that worked for me was manually downloading the 'libssl1.0.0_1.0.2n-1ubuntu5.8_amd64.deb’ package from http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/

NOTE: download the right version for your architecture

then, in the download location:
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.8_amd64.deb

restart the unity editor and hopefully you’re back in the game.
[/quote]

Thanks a lot, Alfie.

Before doing so, I also had to sudo apt install libssl-dev.

So if another one of you is having trouble doing that, maybe that’ll solve it.

Sorry, just to add that I now have this problem on my Ubuntu 22.04 - I really would like some sort of fix asap!

[quote=“kibi_unity”, post:6, topic: 879165]
Sorry, just to add that I now have this problem on my Ubuntu 22.04 - I really would like some sort of fix asap!
[/quote]

Here is a fix that will allow you to run the editor
if your using i386 just replace the _amd64.deb with _i386.deb

wget “http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb
wget “http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0-dev_1.0.2n-1ubuntu5.10_amd64.deb
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb
sudo dpkg -i libssl1.0-dev_1.0.2n-1ubuntu5.10_amd64.deb

9 Likes

[quote=“LevonRavel”, post:7, topic: 879165]
Here is a fix that will allow you to run the editor
if your using i386 just replace the _amd64.deb with _i386.deb

wget “http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb
wget “http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0-dev_1.0.2n-1ubuntu5.10_amd64.deb
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb
sudo dpkg -i libssl1.0-dev_1.0.2n-1ubuntu5.10_amd64.deb
[/quote]
Thank you! I am now on version 1.0.2
And thank you for your service

4 Likes

I just started getting this error out of the blue on Pop!_OS 22.04 LTS after working with Unity on Linux for over 4 months now.

2 Likes

[quote=“fjjoubert”, post:9, topic: 879165]
I just started getting this error out of the blue on Pop!_OS 22.04 LTS after working with Unity on Linux for over 4 months now.
[/quote]
Did you fix it?

1 Like

I have it working. I couldnt remember my exact steps but i posted about it plastic scm forums.
https://forum.plasticscm.com/topic/23423-cannot-intall-plastic-scm-complete-on-ubuntu-22-it-depends-on-liblttng-ust0/

This is still an issue as of today, but the fix in the very first comment worked for me. The version number has changed though; right now you need to go to http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/ and download the file named libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb.

4 Likes

Still an issue, the Unity Hub doesn't even load on a fresh install of 22.04. Sits there with the Unity logo and a spinning circle beneath it doing nothing. No errors, no activity, no sign of life. If this was your first impression of Unity, it would not be a good one...

Fortunately I've been using Unity on 22.04 for a few months now... so I knew it should work. The difference I now know, is that my old PC had been upgraded from 20.04- > 21.04 -> 21.10 -> 22.04 so it must have had older libs in place that Unity needs.

On my fresh install of 22.04 and figuring it was the Hub that was at fault, I eventually realised I could install Unity without the Hub and going through the manual license activation got to my project with the libssl error in the editor. Finally, an actual error message! That lead me here and to the fixes above - thank you all!

With the older libssl installed, the Hub actually loads.

1 Like

[quote=“saint-jess”, post:12, topic: 879165]
This is still an issue as of today, but the fix in the very first comment worked for me. The version number has changed though; right now you need to go to http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/ and download the file named libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb.
[/quote]
This worked for me thank you! I am running Pop 22.04 LTS

What can I do when I'm running Fedora 36? Downgrading openssl to 1.1 would probably break my system. The log file looks like this: https://pastebin.com/26aud3ZM (I have a valid PRO license btw).

[quote=“ten_dlabaja”, post:15, topic: 879165]
What can I do when I’m running Fedora 36? I cannot downgrade openssl because of openssl-libs, which would probably break my system.
[/quote]
I’m running Fedora 36 and I didn’t have to do anything special to get the official Unity Hub package working.

Hello @KevinWelton , do you have any update on the issue? It would be great if you had a ticket where we can follow the progress on the issue.

Meanwhile I added openssl-1.1 to the AUR package for arch distros.
https://aur.archlinux.org/packages/unityhub

2 Likes

I'm on Linux Mint and I think it was a kernel update that made this start appearing randomly after a reboot just now. Even though I'm on 5.15 I will try:

wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb

Yeah this seems to work.

1 Like

[quote=“kibi_unity”, post:8, topic: 879165]
Thank you! I am now on version 1.0.2
And thank you for your service
[/quote]
Your welcome :slight_smile:

[quote=“AlfieBooth_1”, post:1, topic: 879165]
Hi all. If when opening the editor on the new LTS 22.04 you get the error ‘No useable version of libssl’ it’s due to a change in the libssl version.
The fix that worked for me was manually downloading the 'libssl1.0.0_1.0.2n-1ubuntu5.8_amd64.deb’ package from http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/

NOTE: download the right version for your architecture

then, in the download location:
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.8_amd64.deb

restart the unity editor and hopefully you’re back in the game.
[/quote]

thank you so much, this fix helped me and fixed the problem perfectly
IMPORTANT NOTE:
Do not install the .udeb version, install the .deb version that he mentioned based on your cpu arch