You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
michidk
changed the title
[Bug]: OpenSSL v1 (?) is a requirement know but not documented. Make Komac unusable on modern systems
[Bug]: OpenSSL v1 is a undocumented requirement - Makes Komac unusable on modern systems
Apr 7, 2024
The builds from the GitHub releases are built with cross which installs the latest OpenSSL beforehand. I'll have a look into why it's expecting OpenSSL v1.
The issue is that cross' Docker images use Ubuntu 20.04 where libssl-dev is still v1. Ubuntu 22.04 has v3. There's a pull request to update the base images to 22.04 but it was created in July 2022 and hasn't had much progress. After lots of researching and testing with dynamically and statically linking OpenSSL, I've been able to get it to work and link to OpenSSL v3 without external tools. However, because of the difficulty of this, I've dropped the FreeBSD builds as well as the arm and arm64 builds on Linux.
@michidk could you possibly confirm that the Linux builds from the nightly release are linking against OpenSSL v3?
Is there an existing issue for this?
What happened?
Release https://github.com/russellbanks/Komac/releases/tag/v2.2.0 mentions that it now requires OpenSSL to be installed.
This is not documented in the readme.
However, even after installing OpenSSL via apt-get on Ubuntu 22.04 any trying to run https://github.com/russellbanks/Komac/releases/download/v2.2.0/KomacPortable-linux-x64.tar.gz, I get:
This is because Ubuntu 22.04 comes with
OpenSSL 3.2.1 30 Jan 2024 (Library: OpenSSL 3.2.1 30 Jan 2024)
Seems like OpenSSL v1 is required for the builds from GitHub releases:
OpenSSL v1.1.1 reached it's end of life 11th September 2023 (https://www.openssl.org/blog/blog/2023/09/11/eol-111/index.html). So is this really something we should do?
Interestingly it works fine when installing with
cargo install
. In that case it seems to link to OpenSSL v3:Is there any guidance on how to get it to run on Ubuntu 22 with the builds from GitHub releases?
The text was updated successfully, but these errors were encountered: