google / google/kctf

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

Open
#407 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
794
Forks
82
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.