-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Librdkafka/openssl patch/all #19496
Librdkafka/openssl patch/all #19496
Conversation
When building as debug linking against the librdkafka library fails because it is looking for the libcrpto.lib instead of the libcryptod.lib. Adding those pragmas to the rdkafka_ssl.c file solves this issue
I detected other pull requests that are modifying librdkafka/all recipe:
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
This comment has been minimized.
This comment has been minimized.
As @ericLemanissierBot mentioned there is another PR fixing this Problem. The question is what would be the best way? Adding the additional Pragmas or just replacing them like in the PR #17894 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 6 (
|
I'm retriggering the build in v2 as it failed for a networking reason, thanks for your patience while we processed the rest of the PR backlog :) |
@RubenRBS 👍 and is this fix as it is ok or is the one mentioned above where the replace is done in python a better solution? I also made a pr at the librdkafka project with those changes so maybe if it gets accepted this patches are not needed then anymore. But we will see 😃 |
Oh my @KevDi sorry about the radio silence, I totally dropped the ball on this one and did not see the mention notification until now, so I didn't circle back to the PR until now Do you have a link to the PR you mention you submitted upstream? Having backport links usually helps a lot for future maintenance |
@RubenRBS this is the other PR which deals with this problem #17894 |
Oh sorry I didnt make myself clear at all, I was asking about the PR you mentioned opening upstream |
Okay sorry you mean the PR on the librdkafka Project. Here it is: Added Pragmas for the Debug Libs from Openssl |
@RubenRBS is this PR still considered to be implemented? If so i would try to update it to the latest version. Because it seems the problem still exists. And from librdkafka side there is still no feedback on that topic. |
not needed anymore |
Specify library name and version: librdkafka/all
Starting from librdkafka Version 1.8.0 the following
pragma
calls foropenssl
where added librdkafka/src/rdkafka_ssl.cOn a Debug Build this causes problems, because Openssl builds the Debug Libraries with an additional
d
(libcryptod.lib/libssld.lib
). Linking the Program then fails because it won't find the correct libraries.Adding these with the correct ending fixes this.
I also opened a PR on the Librdkafka Project with those changes but i'm not sure if they will be added.