I’ve just installed the Sailfish SDK 3.1.7 on Ubuntu 20.04 and there were a couple of things I needed to do to get it working. Even though this material has already been noted elsewhere, I thought it might be helpful to have it all in one place.
Apart from the points below, I just followed the general installer instructions for the online and docker install.
- Ubuntu 20.04 has openssl 1.1.1 in the repos, but the online installer requires an earlier version to work as explained by Ville on TJC and pilino on FSO. Downloading and installing this version of openssl did the trick:
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb
- To install the docker version, the installing user has to be in the docker group. There’s a clear guide for installing docker on the Digital Ocean site, but the crucial part (at least that I originally missed) is this:
sudo usermod -aG docker username
// now reboot
- As explained by coderus, to avoid an error with the Clang Tools on startup, install libtinfo5:
sudo apt install libtinfo5
With these changes I can install and run the SDK, and build projects nicely.