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

libxml2.so.2 file missing after building docker image and running in kubernetes #137

Open
rahulmotiyani-inventyv opened this issue Aug 6, 2024 · 2 comments

Comments

@rahulmotiyani-inventyv
Copy link

In my rust project i have used libxml version 0.3.3 and in docker file also i provided some packages related to libxml as per documentation like RUN apt-get install libxml2-dev libxml2 pkg-config
Now when running in kubernetes container it gives following error.
error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

@imcsk8
Copy link
Collaborator

imcsk8 commented Aug 6, 2024

Can you provide the Dockerfile?
I've checked in an ubuntu container and libxml2 is located in this path: /usr/lib/x86_64-linux-gnu/libxml2.so.2

@rahulmotiyani-inventyv
Copy link
Author

Please refer this docker file
docker.txt

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

No branches or pull requests

3 participants