EpicCash / epic

Blockchain Node Server with integrated Stratum Mining Server
https://epiccash.com
Apache License 2.0
25 stars 36 forks source link

Add support for OpenSSL3x. OpenSSL 1.1.1 went end of life on September 11th 2023. #134

Open sysfu opened 6 months ago

sysfu commented 6 months ago

Describe the bug OpenSSL 1.1.1 went EoL on the 11th of September 2023. The epic server binary will not run on gentoo linux with current versions of OpenSSL libraries installed.

To Reproduce Download and extract latest epic server binary, then run it. Epic binary complains: epic: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory Expected behavior epic server binary supports current version(s) of SSL.

Required data

Additional context Current version of openssl libraries on gentoo is dev-libs/openssl-3.0.13-r2-17:0/3

Workaround is to emerge the dev-libs/openssl-compat package.

who-biz commented 5 months ago

Agreed that this should be changed. However, the most common distributions run by users of Linux are Ubuntu 20.04 and 22.04. These use different versions of openssl. Until Ubuntu 20.04 migrates to 3.0, or hits EOL, we are unfortunately stuck with this situation.

Not Ubuntu's first time creating a situation like this. glibc also had an update that broke backwards compat for Ubuntu 16.04 & Debian 9, some years ago. We are lucky that this is only a library, and does not require separate compiled binaries.