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

nsjail: error while loading shared libraries: libprotobuf.so.17: cannot open shared object file: No such file or directory #407

Open
badhacker0x1 opened this issue Oct 21, 2024 · 0 comments

Comments

@badhacker0x1
Copy link

Im building the nsjail using this docker file

`FROM ubuntu:20.04 as nsjail

ENV BUILD_PACKAGES build-essential git protobuf-compiler libprotobuf-dev bison flex pkg-config libnl-route-3-dev ca-certificates
ENV NSJAIL_COMMIT f920c9194ec1e9654f051eb2390604059c951ea2

RUN apt-get update
&& apt-get install -yq --no-install-recommends $BUILD_PACKAGES
&& rm -rf /var/lib/apt/lists/*
&& git clone https://github.com/google/nsjail.git
&& cd /nsjail && git checkout $NSJAIL_COMMIT && make -j && cp nsjail /usr/bin/
&& rm -R /nsjail && apt-get remove --purge -y $BUILD_PACKAGES $(apt-mark showauto)
`

but Im getting this error:- nsjail: error while loading shared libraries: libprotobuf.so.17: cannot open shared object file: No such file or directory

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

1 participant