KWARC / rust-libxml

Rust wrapper for libxml2
https://crates.io/crates/libxml
MIT License
76 stars 38 forks source link

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

Open rahulmotiyani-inventyv opened 3 months ago

rahulmotiyani-inventyv commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

Please refer this docker file docker.txt