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

fix building kafka modules with static library (--enable-kafka-static) #5025

Closed
alorbach opened this issue Nov 16, 2022 · 0 comments · Fixed by #5026
Closed

fix building kafka modules with static library (--enable-kafka-static) #5025

alorbach opened this issue Nov 16, 2022 · 0 comments · Fixed by #5026

Comments

@alorbach
Copy link
Member

Commit 7305c04 appears to have broken building kafka modules with static librdkafka.

  • Fix the Makefile.am to include the static kafka library again
  • Append library dependencies added in librdkafka

This issue remained undetected for a long time, because the module was still working with local installed librdkafka versions. However as we updated librdkafka on rpm build systems, this has become a problem now (See #4966) as API details have changed which causes missing symbol errors as following error.

alorbach added a commit to alorbach/rsyslog-1 that referenced this issue Nov 16, 2022
Because of changes in commit rsyslog@7305c04,
the kafka modules were not build with static librdkafka
regarding of --enable-kafka-static.

Also added missing libraries needed for building with newer
static librdkafka.

closes: rsyslog#5025
alorbach added a commit to alorbach/rsyslog-1 that referenced this issue Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant