Skip to content
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

java.lang.UnsatisfiedLinkError: libsnappyjava.so when using kafka compression #92

Open
lukeworgerSky opened this issue Mar 16, 2020 · 3 comments

Comments

@lukeworgerSky
Copy link

Hi, we tried to consume messages using kms with a Kafka broker using compression.type=snappy turned on. When KMS consumer tried to decompress the message we received the following error.

java.lang.UnsatisfiedLinkError: /tmp/snappy-1.1.7-3b339156-ef0c-4cd6-91b0-0e405aa6045c-libsnappyjava.so: Error loading shared library ld-linux-x86-64.so.2: No such file or directory

By adding a glibc dynamic loader via apk add --no-cache libc6-compat the problem was solved as the Alpine image doesn't run with glibc by default.

Please can we add this to the kafka-message-scheduler base image?

@bcarter97
Copy link
Member

Hi @lukeworgerSky, is this still an issue?

@lukeworgerSky
Copy link
Author

Hi @bcarter97 we no longer own the application making use of KMS. We worked around it by providing the required lib in our image which extended this KMS image so I believe it is still required but have not checked since I raised this issue.

@bcarter97
Copy link
Member

I will keep this issue open then 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants