Oryx icon indicating copy to clipboard operation
Oryx copied to clipboard

Clarification required on Oryx support for latest ubuntu versions

Open Kaniska244 opened this issue 7 months ago • 2 comments

Hello,

The php installation with oryx tool is broken with the following error on ubuntu 24.04(noble) & 22.04(jammy).

php: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

This above happens because libssl1.1 system library is not available ubuntu jammy(22.04) onwards.

In 20.04:

root ➜ / $ dpkg -l | grep -i libssl
ii  libssl-dev:amd64           1.1.1f-1ubuntu2.24                amd64        Secure Sockets Layer toolkit - development files
ii  libssl1.1:amd64            1.1.1f-1ubuntu2.24                amd64        Secure Sockets Layer toolkit - shared libraries
root ➜ / $ 
root ➜ / $ 
root ➜ / $ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
root ➜ / $

In 24.04:

root ➜ / $ dpkg -l | grep -i libssl
ii  libssl-dev:amd64              3.0.13-0ubuntu3.5                 amd64        Secure Sockets Layer toolkit - development files
ii  libssl3t64:amd64              3.0.13-0ubuntu3.5                 amd64        Secure Sockets Layer toolkit - shared libraries
root ➜ / $ 
root ➜ / $ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.2 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
root ➜ / $

As per the support document, oryx supports ubuntu up to focal-scm (20.04) version only.

Is there any plan from oryx side to support higher ubuntu versions such as jammy(22.04) or noble(24.04) in near future as ubuntu focal-scm (20.04) support ends on May 31, 2025? Otherwise, Any workaround/ fix for the php issue would also be highly appreciated.

Kaniska244 avatar May 19 '25 17:05 Kaniska244

Hi @Kaniska244 Currently we don't plan to support any newer ubuntu versions and will be only maintaining support for debian.

sarsharma avatar May 20 '25 11:05 sarsharma

Hi @sarsharma ,

Thank you for the response. We identified the problem for this php issue I had reported earlier. We are installing Oryx directly from source & we are passing DEBIAN_FLAVOR as focal-scm & when we update it to bookworm as debian bookworm has libssl3 only, similar to ubuntu jammy(22.04) & noble(24.04), the php issue gets sorted.

Unfortunately though now with this bookworm flavor we notice that java is not at all supported (ref) at the moment. And we can't go a step back to bullseye because that again doesn’t include libssl3, so the php issue would emerge again.

Would you kindly let us know if there's any plan to support Java in bookworm flavor anytime soon in Oryx?

codespace ➜ / $ oryx prep --skip-detection --platforms-and-versions java=12.0.2
Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues

Oryx Version: 0.2.0.0+cada9e85564f034d18420f8b5b38b3cf2259f321, Commit: , ReleaseTagName: 

Skipping platform detection since '--skip-detection' switch was used...
Error: Platform 'java' version '12.0.2' is unsupported. Supported versions: 
codespace ➜ / $ 
codespace ➜ / $ oryx prep --skip-detection --platforms-and-versions java=17.0.2
Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues

Oryx Version: 0.2.0.0+cada9e85564f034d18420f8b5b38b3cf2259f321, Commit: , ReleaseTagName: 

Skipping platform detection since '--skip-detection' switch was used...
Error: Platform 'java' version '17.0.2' is unsupported. Supported versions: 
codespace ➜ / $ 
codespace ➜ / $ oryx prep --skip-detection --platforms-and-versions java=17.0.1
Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues

Oryx Version: 0.2.0.0+cada9e85564f034d18420f8b5b38b3cf2259f321, Commit: , ReleaseTagName: 

Skipping platform detection since '--skip-detection' switch was used...
Error: Platform 'java' version '17.0.1' is unsupported. Supported versions: 
codespace ➜ / $    

Kaniska244 avatar May 21 '25 16:05 Kaniska244