Skip to content
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

Cherokee does not Correctly Build with Local Installation of OpenSSL #1251

Open
rdratlos opened this issue Apr 3, 2021 · 0 comments
Open
Labels

Comments

@rdratlos
Copy link

rdratlos commented Apr 3, 2021

Compile and linker flags are not correctly set when building Cherokee webserver using a local (additional) installation of OpenSSL (e. g. in /usr/local/openssl).

Reproduce:

  • System with OpenSSL (e. g. version 1.1.1) installed
  • Install local OpenSSL in /usr/local/openssl (e. g. OpenSSL version 0.9.8)
  • Build Cherokee with option --with-libssl=/usr/local/openssl
  • Check the references in the libssl plugin
@skinkie skinkie added the t:bug label Apr 3, 2021
rdratlos pushed a commit to rdratlos/cherokee-webserver that referenced this issue Apr 3, 2021
Compile and linker flags are not correctly set when building Cherokee webserver
using a local (additional) installation of OpenSSL (e. g. in /usr/local/openssl).

When users pass an OpenSSL path, with option, e. g., --with-libssl=/usr/local/openssl
Cherokee checks for existence of:
- libssl and libcrypto in /usr/local/openssl/lib
- openssl in /usr/local/openssl/bin
During further build process these paths are used to analyze, compile and link
Cherokee against the correct TLS back-end.

This patch also adds some further checks of OpenSSL header files.

Fixes: cherokee#1251

Signed-off-by: Thomas Reim <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants