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

The --install-deps mode doesn't actually install libsasl2 headers on CentOS 7 #4942

Open
7 tasks done
lpulley opened this issue Dec 27, 2024 · 0 comments
Open
7 tasks done

Comments

@lpulley
Copy link

lpulley commented Dec 27, 2024

Description

./configure --install-deps on a yum system doesn't actually install libsasl2 headers:

checking for libsasl2 (by pkg-config)... failed
checking for libsasl2 (by compile)... failed
installing dependencies (yum install -y cyrus-sasl) libsasl2... using yum
checking for libsasl2 (by pkg-config)... failed
checking for libsasl2 (by compile)... failed (fail)

Installing cyrus-sasl-devel fixes this (yum install cyrus-sasl-devel):

checking for libsasl2 (by pkg-config)... ok

If I understand this correctly, it's a simple fix:

https://github.com/confluentinc/librdkafka/blob/v2.6.1/mklove/modules/configure.libsasl2#L25

How to reproduce

I encountered this when running ./configure --install-deps on the Docker image quay.io/pypa/manylinux2014_x86_64 (ID 31712ce0fffd) with the v2.6.1 release archive.

Checklist

IMPORTANT: We will close issues where the checklist has not been completed.

Please provide the following information:

  • librdkafka version (release number or git tag): v2.6.1
  • Apache Kafka version: N/A
  • librdkafka client configuration: N/A
  • Operating system: CentOS 7 (x64)
  • Provide logs (with debug=.. as necessary) from librdkafka (N/A)
  • Provide broker log excerpts (N/A)
  • Critical issue
@lpulley lpulley changed the title The --install-deps mode doesn't actually install libsasl2 headers The --install-deps mode doesn't actually install libsasl2 headers on CentOS 7 Dec 27, 2024
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

No branches or pull requests

1 participant