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

Issue with alpine linux package #391

Open
Allan-Bray opened this issue Aug 6, 2022 · 1 comment
Open

Issue with alpine linux package #391

Allan-Bray opened this issue Aug 6, 2022 · 1 comment

Comments

@Allan-Bray
Copy link

Getting the following error running kcat after downloading from cdn
apk add --no-cache --allow-untrusted --repository http://dl-cdn.alpinelinux.org/alpine/edge/community kcat=1.7.0-r1

Error relocating /usr/bin/kcat: rd_kafka_message_broker_id: symbol not found
Error relocating /usr/bin/kcat: rd_kafka_incremental_assign: symbol not found
Error relocating /usr/bin/kcat: rd_kafka_rebalance_protocol: symbol not found
Error relocating /usr/bin/kcat: rd_kafka_assignment_lost: symbol not found
Error relocating /usr/bin/kcat: rd_kafka_message_errstr: symbol not found
Error relocating /usr/bin/kcat: rd_kafka_incremental_unassign: symbol not found

1.7.0-r0 worked fine.

The image it's being installed on is FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine3.12

@xordspar0
Copy link

You're using an Alpine 3.12 system and installing kcat from Alpine Edge. You can't mix packages from multiple versions of the distribution like that. Specifically, it looks like the symbols rd_kafka_message_broker_id, etc. where added to librdkafka at some point, but Alpine 3.12 has an old version that lacks those symbols.

Alpine 3.12 has a kafkacat package, so there's no need to use a different repository.

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

2 participants