ZeroTier does not work on Ubuntu 24.04dev error while loading shared libraries: libssl.so.1.1
Same error as in bug https://github.com/zerotier/ZeroTierOne/issues/2154 but happening in Ubuntu 24.04 dev as well.
5 months later, and with Ubuntu 24.04 imminent release, this issue is still present.
zerotier-cli: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
zerotier-one[2585]: /usr/sbin/zerotier-one: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
I can confirm, this issue is also present on the 24.04 beta test yesterday.
CPU: AMD 7950x MB: MSI B650i Edge Wifi RAM: 2x48GB Corsair V RGB SSD: WD Black SN770 500GB
Ubuntu 24.04 LTS is released. Issue still exists.
Found a workaround:
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb
dpkg -i libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb
This will install libssl1.1 from the older Ubuntu repos. That fixes the issue. Zerotier should still compile against newer libssl to avoid this.
I can confirm that installing libssl1.1_1.1.1f-1ubuntu2.22_amd64.deb as reported by @itskenny0 resolved my issue and I was able to install and use ZeroTier without problems on Ubuntu Server 24.04 release. Thank you!
The best thing to do is to use the Mantic version in /etc/apt/sources.list.d/zerotier.list because, by default, the installer thinks you are using Buster. This way, you don't have to install libssl externally, which would not be recommended for security reasons.
I think this issue can be closed since Ubuntu 24 is supported.
let us know if you're still seeing an issue