-
Notifications
You must be signed in to change notification settings - Fork 915
Undefined Symbol: rd_kafka_producev , Python 3.4 #241
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
Comments
My guess is that the confluent_kafka Python module was built with librdkafka >=v0.9.4, but during runtime the linker is finding an older outdated librdkafka.so file <0.9.4. Search your runtime system for We're actively working on providing autonomous wheels for linux and osx which bundle librdkafka. |
Just went through the same issue (though, with Go client.
It turned out, the binary generated was loading first.
Solution was to remove first, and set LD_LIBRARY_PATH to Thanks @edenhill . |
As @edenhill suggested, I searched for librdkafka.so* and had two versions. Deleting the older version made it work. Much appreciated. |
See #184 (comment) |
Importing in PyCharm & Bash with Python3.4 gives
The setup:
This issue says the librdkafka version needs updating. I'm using the latest librdkafka & -devel.
Any help much appreciated as the package looks great.
The text was updated successfully, but these errors were encountered: