-
Notifications
You must be signed in to change notification settings - Fork 902
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
ImportError: librdkafka.so.1: cannot open shared object file: No such file or directory #158
Comments
Hi @pwaterz , did you install librdkafka first? |
I did, I built it from source
|
It could be that the linker doesnt look in /usr/local/lib, you can verify this by doing: If that works it means you should add /usr/local/lib to /etc/ld.so.conf and rerun Another alternative is to install librdkafka in the system location right away, by:
|
Doesn't look like that's the issue
The kafka lib is installed here
|
Sorry, try this: Or just start python with LD_LIBRARY_PATH=... and do the manual 'import confluent_kafka' |
That did not error. I will try and fix the linking in the library and get back to you. Thanks a lot for your time! |
Dup of #65 |
I just |
Thanks @dogyy0119 , |
@edenhill please can you add it to the README, that would be great :-) |
Currently running into this error
When trying to import the package.
I'm running this on REHL 5 and installed the package via
Any ideas?
The text was updated successfully, but these errors were encountered: