Skip to content

ImportError: librdkafka.so.1: cannot open shared object file: No such file or directory #158

Closed
@pwaterz

Description

@pwaterz

Currently running into this error

$ python2.7
Python 2.7.12 (default, Jun 28 2016, 17:49:25)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from confluent_kafka import Consumer, KafkaError
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/confluent_kafka/__init__.py", line 2, in <module>
    from .cimpl import (Consumer,
ImportError: librdkafka.so.1: cannot open shared object file: No such file or directory

When trying to import the package.
I'm running this on REHL 5 and installed the package via

pip2.7 install confluent-kafka

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions