New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to compile with openssl-1.0.2 #1
Comments
Good point. This software requires OpenSSL 1.1.0 or later. I will fix the ./configure script to fail with older versions of OpenSSL. |
Is any way to support both? I'm porting this tool to Gentoo, and there is no easy way to migrate to the latest at this point of time, see https://bugs.gentoo.org/662246 Edit: The tracker is here https://bugs.gentoo.org/show_bug.cgi?id=openssl-1.1 The current major blocks are ruby, nodejs |
I'm afraid your approach to migrating OpenSSL won't work. The proper solution (already implemented in other distros, such as Arch Linux or Debian) is to have both OpenSSL 1.0 and OpenSSL 1.1 libraries installed, and gradually migrate dependent code to OpenSSL 1.1. |
I think you misread that my bug report (662246). That's the exact approach which Gentoo and other distros use all the time. Unfortunately, openssl-1.1 doesn't support it natively. For example, both 1.0 and 1.1 expect include files in the same location. |
Arch installs OpenSSL 1.0 includes in /usr/include/openssl-1.0/ and libraries/engines in /usr/lib/openssl-1.0/. |
I think we are discussing an unrelated problem here, you can read the bug report regarding *.pc files (comment #4) and how the old software can be patched in order to still able to find the required version of openssl. The shortstoper is that openssl does not support simultaneous installation of both 1.0 and 1.1 by default and there is no legal way to do it. But the question of this bug report: do you REALLY need a 1.1 specific feature or you can adjust the code and survive with 1.0 if only this library is available? |
I'm not supporting any "1.1 specific feature". The OpenSSL API has changed (a lot!), and I'm not going to include a bunch of conditional compilation just to support an obsolete library with end-of-life scheduled for 2019. Feel free to fork if you disagree. |
I totally agree if the change is significant (I did not expect that as I hit one error only). In fact, I won't care about openssl 1.0 once the remaining major packages are migrated to it. Unfortunately, this is not the case as of today. Feel free to patch the code (to fail if 1.1 is not present) and close this bug. Thanks! |
Thanks! |
I'm not sure if it's really the openssl issue, here is the log:
The text was updated successfully, but these errors were encountered: