You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i don't know why, it is pointing to /usr/local/lib64/python3.6/site-packages/confluent_kafka/../confluent_kafka.libs/librdkafka-bf5f31b2.so.1 , instead it should point to /usr/local/lib/librdkafka.so
i have spent hours trying to figure why pip install is behaving in this way
i created a new VM and tried the same, strangely it's a different behavior
i noticed the directory structure is different from vm1 to vm2
on vm1 it is /usr/local/lib64/python3.6/site-packages/confluent_kafka/cimpl.cpython-36m-x86_64-linux-gnu.so
on vm2 it is /usr/local/lib64/python3.6/site-packages/confluent_kafka-1.4.2-py3.6-linux-x86_64.egg/confluent_kafka/cimpl.cpython-36m-x86_64-linux-gnu.so
can someone please explain me why this is happening.
i am running everything as root.
Traceback (most recent call last):
File "confKafka.py", line 3, in <module>
from confluent_kafka import Producer
File "/usr/lib64/python3.6/site-packages/confluent_kafka/__init__.py", line 19, in <module>
from .deserializing_consumer import DeserializingConsumer
File "/usr/lib64/python3.6/site-packages/confluent_kafka/deserializing_consumer.py", line 19, in <module>
from confluent_kafka.cimpl import Consumer as _ConsumerImpl
ImportError: librdkafka-bf5f31b2.so.1: cannot open shared object file: No such file or directory
i found #438#241 and #158 similar issues, but didn't helped to resolve the issue.
Any help is greatly appreciated.
How to reproduce
Running into issue when trying to install confluent-kafka on a new centos VM, running basic producer code
Checklist
Please provide the following information:
confluent-kafka-python: 1.4.2 and librdkafka version : 1.1.0_confluent5.3.3-1.el7
Operating system: CentOS Linux release 7.8.2003 (Core)
The text was updated successfully, but these errors were encountered:
Description
pip3 install of confluent-kafka is not linking with librdkafka libraries
i don't know why, it is pointing to
/usr/local/lib64/python3.6/site-packages/confluent_kafka/../confluent_kafka.libs/librdkafka-bf5f31b2.so.1
, instead it should point to/usr/local/lib/librdkafka.so
i have spent hours trying to figure why pip install is behaving in this way
i created a new VM and tried the same, strangely it's a different behavior
i noticed the directory structure is different from vm1 to vm2
on vm1 it is
/usr/local/lib64/python3.6/site-packages/confluent_kafka/cimpl.cpython-36m-x86_64-linux-gnu.so
on vm2 it is
/usr/local/lib64/python3.6/site-packages/confluent_kafka-1.4.2-py3.6-linux-x86_64.egg/confluent_kafka/cimpl.cpython-36m-x86_64-linux-gnu.so
can someone please explain me why this is happening.
i am running everything as root.
following is the environment i am running on
Sample Code:
Error Log:
i found #438 #241 and #158 similar issues, but didn't helped to resolve the issue.
Any help is greatly appreciated.
How to reproduce
Checklist
Please provide the following information:
The text was updated successfully, but these errors were encountered: