• Hardware Platform (Jetson / GPU) Jetson Orin NX
• DeepStream Version 6.3
• JetPack Version (valid for Jetson only) 5.1.1
• TensorRT Version 5.1.1
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs) Bugs
I have an issue with the Pyds compilation, I am using gstreamer built through Opencv with Cuda. My opencv version is 4.5.4 and gstreamer version is 1.16.3. I face an issue in the sudo make install step.
The error:
Making install in common
make[1]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/common'
Making install in m4
make[2]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/common/m4'
make[3]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/common/m4'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/common/m4'
make[2]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/common/m4'
make[2]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/common'
make[3]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/common'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/common'
make[2]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/common'
make[1]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/common'
Making install in gi
make[1]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/gi'
Making install in overrides
make[2]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/gi/overrides'
make[3]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/gi/overrides'
/usr/bin/mkdir -p '/usr/local/lib/python3.8/site-packages/gi/overrides'
/bin/bash ../../libtool --mode=install /usr/bin/install -c _gi_gst.la '/usr/local/lib/python3.8/site-packages/gi/overrides'
libtool: install: /usr/bin/install -c .libs/_gi_gst.cpython-38-aarch64-linux-gnu.so /usr/local/lib/python3.8/site-packages/gi/overrides/_gi_gst.cpython-38-aarch64-linux-gnu.so
libtool: install: /usr/bin/install -c .libs/_gi_gst.lai /usr/local/lib/python3.8/site-packages/gi/overrides/_gi_gst.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib/python3.8/site-packages/gi/overrides
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib/python3.8/site-packages/gi/overrides
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/usr/local/lib/python3.8/site-packages/gi/overrides'
/usr/bin/install -c -m 644 Gst.py GstPbutils.py '/usr/local/lib/python3.8/site-packages/gi/overrides'
<string>:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
Byte-compiling python modules...
Gst.pyGstPbutils.py
Byte-compiling python modules (optimized versions) ...
Gst.pyGstPbutils.py
make[3]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/gi/overrides'
make[2]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/gi/overrides'
make[2]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/gi'
make[3]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/gi'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/gi'
make[2]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/gi'
make[1]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/gi'
Making install in plugin
make[1]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/plugin'
make[2]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/plugin'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/usr/local/lib/gstreamer-1.0'
/bin/bash ../libtool --mode=install /usr/bin/install -c libgstpython.la '/usr/local/lib/gstreamer-1.0'
libtool: install: /usr/bin/install -c .libs/libgstpython.cpython-38-aarch64-linux-gnu.so /usr/local/lib/gstreamer-1.0/libgstpython.cpython-38-aarch64-linux-gnu.so
libtool: install: /usr/bin/install -c .libs/libgstpython.lai /usr/local/lib/gstreamer-1.0/libgstpython.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib/gstreamer-1.0
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib/gstreamer-1.0
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/plugin'
make[1]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/plugin'
Making install in testsuite
make[1]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/testsuite'
make[2]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/testsuite'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/testsuite'
make[1]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/testsuite'
make[1]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python'
make[2]: Entering directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python'
make[1]: Leaving directory '/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python'
Seems to be an issue with the linking of my gstreamer libraries within the Orin NX. I am following this documentation: deepstream_python_apps/bindings at v1.1.8 · NVIDIA-AI-IOT/deepstream_python_apps · GitHub
The steps I do:
- git clone the repo inside the deepstream-6.3 directory
- cd deepstream_python_apps/
- sudo git checkout v1.1.8 # This is to get to the deepstream 6.3 supported branch.
After all that, then the same steps within the docs.
Thanks,
Neville