-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
chore(deps): 'cannot find -lsasl' in some environments #15650
Conversation
Officially suggested solution for `/usr/bin/ld: cannot find -lsasl` build failure on some machines fede1024/rust-rdkafka#359
✅ Deploy Preview for vrl-playground ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for vector-project canceled.
|
Regression Test Results
Run ID: 1d4acd8e-8f87-491d-9ae5-670fd044097f Explanation
A regression test is an integrated performance test for
The table below, if present, lists those experiments that have experienced a
statistically significant change in their No interesting changes in Fine details of change detection per experiment.
|
This can also be resolved by using |
Noting for posterity that the separation between |
Correction: The default build of Vector (i.e. with default features) on Linux does not require |
@DarkWanderer apologies for the delay in this. Could you link to where rdkafka recommends the use of cmake to resolve the issue you are seeing? |
No problem. Here is a link to the comment in |
Gotcha, thanks! I see. My one concern is that librdkafka documents cmake support as experimental but in practice it seems to have worked for us as we do use it for the musl-based builds. Given that, I think it's ok to attempt making the default for Vector's cross compilation. I'll see about getting this integrated. Thanks for the discussion! |
It actually looks like we already include this feature in our release builds: Lines 407 to 416 in cb937fb
@DarkWanderer you should be able to use one of those features when building to compile in support (e.g. I'll close this out since it seems to be resolved but let me know if you have any trouble with it! |
For what its worth, the docs build uses the |
Wouldn't say I have trouble - it's just having to specify additional options to get a debug binary - and having Not a big deal though and certainly your choice - thanks for looking into it! |
Yeah, we would like to do better with the default features but a project like Vector really needs platform-specific features, which |
When trying to build
vector
on Fedora 37, I encounter following error:/usr/bin/ld: cannot find -lsasl
even though I have
cyrus-sasl
installed.rdkafka
official recommendation is to usecmake
to fix such issuesThis PR switches rdkafka's build system to cmake to allow for better compatibility