I want to use kafkacat command line utility(https://docs.confluent.io/current/app-development/kafkacat-usage.html) on my MacOS Mojave(10.14.5). I executed the below steps
brew install kafkacat
kafkacat -C -b brokerID -t kafkaTopic -e -K '+'
I am getting the error as below
dyld: lazy symbol binding failed: Symbol not found: _timespec_get
Referenced from: /usr/local/opt/librdkafka/lib/librdkafka.1.dylib
Expected in: /usr/lib/libSystem.B.dylibdyld: Symbol not found: _timespec_get Referenced from: /usr/local/opt/librdkafka/lib/librdkafka.1.dylib Expected in: /usr/lib/libSystem.B.dylib
Abort trap: 6
I've tried uninstalling and reinstalling kafkacat.
I ran into the same issue. Looks like it is coming from librdkafka: https://github.com/edenhill/librdkafka/pull/2569 and the last version of Xcode (11). You can either:
brew uninstall ...
). Rebuild librdkafka using the "fixed" branch and then rebuild kafkacat (method I tested) ORIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With