Skip to content

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

Description

@badhacker0x1

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions