Upgrading to OpenSSL v3 breaks GDK

Overview

From the Slack discussion https://gitlab.slack.com/archives/C386P3PT6/p1651883492588699

Ubuntu 22.04 shipped a major version upgrade to openssl (3.x), which is causing major issues in the GDK (expecting 2.x?).

ruby-2.7.5/ext/openssl/extconf.rb:111: OpenSSL >= 1.0.1, < 3.0.0 or LibreSSL >= 2.5.0 is required

Steps to replicate (optional)

  • Have GDK installed in an Ubuntu version prior to 22.04.
  • Upgrade to Ubuntu 22.04.
  • Update GDK

Proposal (optional)

Add a troubleshooting section with the workaround in https://github.com/rbenv/ruby-build/discussions/1940#discussioncomment-2663209

This requires reinstalling Ruby (and everything else) with make bootstrap and then that required reinstalling the whole Ruby chain (e.g. bundle install) but the GDK eventually boots up.

Environment (optional)

  • Operating system name: Ubuntu 22.04
  • Architecture: amd64
  • Ruby version: 2.7.5
  • GDK version: latest
Edited by Achilleas Pipinellis