Skip to content

Undefined Symbol: rd_kafka_producev , Python 3.4 #241

Closed
@digiman999

Description

@digiman999

Importing in PyCharm & Bash with Python3.4 gives

Traceback (most recent call last):
  File "generic.py", line 1, in <module>
    from confluent_kafka import Producer
  File "/usr/lib64/python3.4/site-packages/confluent_kafka/__init__.py", line 2, in <module>
    from .cimpl import (Consumer,  # noqa
ImportError: /usr/lib64/python3.4/site-packages/confluent_kafka/cimpl.cpython-34m.so: undefined symbol: rd_kafka_producev

The setup:

  • Python 3.4 (v2 & 3.6 also installed)
  • librdkafka 0.9.5 (via yum)
  • librdkafka-devel: 0.11.0_confluent3.3.0 (via yum)
  • Centos 7

This issue says the librdkafka version needs updating. I'm using the latest librdkafka & -devel.

Any help much appreciated as the package looks great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    installationAny issue related to library installation. Please consider adding an operating system label as well

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions