Missing dependencies of pyds.so in nvcr.io/nvidia/deepstream-l4t:5.0-20.07-samples

Setup details :
**• Hardware Platform (Jetson / GPU) : Jetson
**• DeepStream Version : 5.0
**• JetPack Version (valid for Jetson only) : 4.4
**• Issue Type( questions, new requirements, bugs) : bug

The binary pyds.so in docker base image
nvcr.io/nvidia/deepstream-l4t:5.0-20.07-samples
has missing dependencies

To reproduce:

Host: sudo docker run -it nvcr.io/nvidia/deepstream-l4t:5.0-20.07-samples

then inside docker, when I tried below two lines

Docker:PYTHONPATH=/opt/nvidia/deepstream/deepstream/lib python3
Docker (in python):import pyds

I got the error

Traceback (most recent call last):
File “”, line 1, in
ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory

So, I created a new docker image, “our-image” using docker file with below lines
to fix the missing ibpython3.6m.so.1.0 problem:


FROM nvcr.io/nvidia/deepstream-l4t:5.0-20.07-samples

RUN echo ‘debconf debconf/frontend select Noninteractive’ | debconf-set-selections
&& apt-get update && apt-get install -y --no-install-recommends
make \
g++
python3-dev

CMD ["/bin/bash"]


I run the new docker image using the below command

Host: sudo docker run -it our-image

Again inside the docker, when I tried below two lines

Docker: PYTHONPATH=/opt/nvidia/deepstream/deepstream/lib python3
Docker (in python): import pyds

I ended up with below error

Traceback (most recent call last):
File “”, line 1, in
ImportError: libnvbufsurface.so.1.0.0: cannot open shared object file: No such file or directory

HI @kurra.radhika,
the same as topic - NvCaffeParser.h missing in docker for Deepstream 5.0, objectDetector_Yolo

Sample containerdoes not support compiling sample, please use other containers, e.g. devel, triton.

Thanks!