To install the DeepStream SDK
• Method 2: Using the DeepStream tar package
1. Navigate to the location to which the DeepStream package was downloaded and extract its contents:
$ tar -xpvf deepstream_sdk_v4.0_x86_64.tbz2
2. Extract and install DeepStream SDK:
$ cd deepstream_sdk_v4.0_x86_64
$ sudo tar -xvpf binaries.tbz2 -C /
$ sudo ./install.sh
I think samples and sources left behind at Downloads directory, not copied yet into /opt/nvidia/deepstream/deepstream-4.0/ directory
$ cd ~/d/Downloads/deepstream
(the place I put deepstream_sdk_v4.0_x86_64.tbz2)
$ tar -xpvf deepstream_sdk_v4.0_x86_64.tbz2
$ cd deepstream_sdk_v4.0_x86_64
$ sudo mkdir /opt/nvidia/deepstream/deepstream-4.0
$ sudo cp -Rf * /opt/nvidia/deepstream/deepstream-4.0
$ sudo tar -xvpf binaries.tbz2 -C /
$ sudo ./install.sh
/opt/nvidia/deepstream/deepstream-4.0/bin$ deepstream-app
deepstream-app: error while loading shared libraries: libnvinfer.so.5: cannot open shared object file: No such file or directory
Still it does not have other libraries installed correctly though.
Hi,
You do not have the necessary to change the sequence, please follow the README, the steps you added sudo mkdir /opt/nvidia/deepstream/deepstream-4.0, will intersect with sudo tar -xvpf binaries.tbz2 -C /
deepstream-app: error while loading shared libraries: libnvinfer.so.5: cannot open shared object file: No such file or directory
I tried install tensorflow 5.1.5 GA on my ubuntu 18.04 just now.
Now I have /opt/nvidia/deepstream/deepstream-4.0/lib and can compile nvdsinfer_custom_impl_Yolo.
$ sudo apt install \
> libssl1.0.0 \
> libgstreamer1.0-0 \
> gstreamer1.0-tools \
> gstreamer1.0-plugins-good \
> gstreamer1.0-plugins-bad \
> gstreamer1.0-plugins-ugly \
> gstreamer1.0-libav \
> libgstrtspserver-1.0-0 \
> libjansson4
Reading package lists... Done
Building dependency tree
Reading state information... Done
libjansson4 is already the newest version (2.11-1).
gstreamer1.0-plugins-good is already the newest version (1.14.5-0ubuntu1~18.04.1).
gstreamer1.0-tools is already the newest version (1.14.5-0ubuntu1~18.04.1).
libgstreamer1.0-0 is already the newest version (1.14.5-0ubuntu1~18.04.1).
libssl1.0.0 is already the newest version (1.0.2n-1ubuntu5.3).
gstreamer1.0-libav is already the newest version (1.14.5-0ubuntu1~18.04.1).
gstreamer1.0-plugins-bad is already the newest version (1.14.5-0ubuntu1~18.04.1).
gstreamer1.0-plugins-ugly is already the newest version (1.14.5-0ubuntu1~18.04.1).
libgstrtspserver-1.0-0 is already the newest version (1.14.5-0ubuntu1~18.04.1).
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.225: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.227: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dewarper.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.228: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.230: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.234: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dsexample.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.238: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideo4linux2.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.240: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_tracker.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.241: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_segvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.245: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_jpegdec.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.246: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.247: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.248: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_ofvisual.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.250: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_eglglessink.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.251: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_of.so': libcudart.so.10.1: cannot open shared object file: No such file or directory
How to rectify this problem?
Thank you very much for your attention.
(gst-plugin-scanner:22359): GStreamer-WARNING **: 00:33:17.247: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so’: libcudart.so.10.1: cannot open shared object file: No such file or directory