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
undefined reference to `SSL_set1_host' #3133
Comments
What's your libssl-dev/OpenSSL version? |
Hey @edenhill, welcome to 2021 🥳 We're picking this up now and it's quite time sensitive now. Hopefully you're able to help us figure out the error listed above. As for:
This is our Dockerfile: https://gist.github.com/dragoonis/701d6953cd072f4f6417d619719c30bd Does this help? Do you need more information? I seen this issue: #2524 - and I noticed we're compiling with I'm wondering why we're using libressl-dev in the first place, do you know why people commonly use libressl and not openssl? |
Update, i tried moving from libressl-dev to openssl-dev but
|
If there's something missing in libressl (compared to OpenSSL) you will need to submit a PR with #ifdef guards. |
Hi @edenhill, We're not in a position to be modifying core SSL libraries. I noticed in #2524 the solution you mentioned was to come off of libressl. Is there another way? Right now we seem to be locked onto libressl due to the php-ext-curl dependency. Please help, as this is now blocking us from natively using librdkafka, and instead we're using some Java library which pulls messages and invokes PHP CLI commands with the data via STDIN (it's weird). Thanks |
I mean to create a PR on librdkafka to support libressl, e.g., something like this: |
Sure, I can give it a try, with some direction from you along the way. Here's the code which sets the value, I think what we need to do here is SKIP the call to SSL_set1_host. If that's correct (please confirm), then we just need to skip it. As per your link to: https://github.com/edenhill/librdkafka/blob/master/src/rdkafka_ssl.c#L1365
We could wrap the code so it looks like this:
Is this what you had in mind? If not please be more specific on what the |
Yep, that looks okay. |
@edenhill am I branching from |
yes |
Please also verify that it builds and runs correctly with only libressl installed, not openssl-dev. |
👍 |
Read the FAQ first: https://github.com/edenhill/librdkafka/wiki/FAQ
Description
FYI, I've read this already, #2524
How to reproduce
Full details here: https://gist.github.com/dragoonis/7b265ae4856b06b7698e608c0b7a3da2
Run
./configure
IMPORTANT: Always try to reproduce the issue on the latest released version (see https://github.com/edenhill/librdkafka/releases), if it can't be reproduced on the latest version the issue has been fixed.
Same applies to latest version. Seems like an issue with my docker container env and not your library, so I need to understand how to make my host system give your library what it wants :-)
Dockerfile:
Checklist
IMPORTANT: We will close issues where the checklist has not been completed.
Please provide the following information:
The text was updated successfully, but these errors were encountered: