Usb cam? And deepstream pose estimation last part not working

I still have a hard time to get the pose estimation working.
And does thispose estimatio work with usb camera?
Thanks

nvidia@nvidia-desktop:~/deepstream-pose-estimation$ sudo ./deepstream-pose-estimation-app test.mp4 Pose_Estimation.mp4

(deepstream-pose-estimation-app:21782): GStreamer-WARNING **: 22:47:28.721: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so': /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so: undefined symbol: nvds_add_user_meta_to_roi
One element could not be created. Exiting.

Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)


Hi,

I have a 4G nano with jetpack4.6, it is a new SD card. (I have tried for 2 weeks using deepstream 6.0, 5.0, there are always has some problem…)
Since the pose-estmination only use allow 5.0, I tired to install the deepstream 5.0
I think the deepstream 5.0 installation instruction problem…

Following this link
https://github.com/NVIDIA-AI-IOT/deepstream_pose_estimation#:~:text=Human%20pose%20estimation%20is%20the,a%20video%20or%20a%20photo.

1. Install DeepStream on your platform, verify it is working by running deepstream-app.
Download DeepStream 5.0to my Downloads folder
https://developer.nvidia.com/assets/Deepstream/5.0/ga/secure/deepstream_sdk_5.0_jetson.tbz2

Follow the setup guide "Install Jetson SDK compenents"
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html#jetson-setup

nvidia@nvidia-desktop:~$ 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=2.11-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libgstrtspserver-1.0-0
E: Couldn't find any package by glob 'libgstrtspserver-1.0-0'
E: Couldn't find any package by regex 'libgstrtspserver-1.0-0'
nvidia@nvidia-desktop:~$ 

	Follow this link, https://zoomadmin.com/HowToInstall/UbuntuPackage/libgstrtspserver-1.0-0
	sudo apt-get update -y
	sudo apt-get install -y libgstrtspserver-1.0-0

nvidia@nvidia-desktop:~$ 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=2.11-1
git clone https://github.com/edenhill/librdkafka.git
cd librdkafka
git reset --hard 7101c2310341ab3f4675fc565f64f0967e135a6a
./configure
make
sudo make install
#need to modify for 5.0
sudo mkdir -p /opt/nvidia/deepstream/deepstream-5.0/lib
sudo cp /usr/local/lib/librdkafka* /opt/nvidia/deepstream/deepstream-5.0/lib

sudo vi /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
Modify the code to 
	deb https://repo.download.nvidia.com/jetson/common r32.6 main
	deb https://repo.download.nvidia.com/jetson/t194 r32.6 main

sudo apt update
sudo apt install --reinstall nvidia-l4t-gstreamer
sudo apt install --reinstall nvidia-l4t-multimedia
nvidia@nvidia-desktop:~/librdkafka$ sudo apt install --reinstall nvidia-l4t-coreReading package lists... Done
Building dependency tree       
Reading state information... Done

The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
  dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
  kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
  kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
  libkdecorations2private5v5 libkf5activities5 libkf5attica5
  libkf5completion-data libkf5completion5 libkf5declarative-data
  libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
  libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
  libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
  libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
  libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
  libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
  libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
  libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
  libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
  libkwinglutils11 libkwinxrenderutils11 libqgsttools-p1 libqt5designer5
  libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
  libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0
  libxcb-damage0 os-prober python3-dbus.mainloop.pyqt5 python3-icu python3-pam
  python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
  qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
  qml-module-qtquick2 rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  nvidia-l4t-core
1 upgraded, 0 newly installed, 0 to remove and 186 not upgraded.
Need to get 2,698 kB of archives.
After this operation, 93.2 kB of additional disk space will be used.
Get:1 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-core arm64 32.6.1-20210726122859 [2,698 kB]
Fetched 2,698 kB in 1s (2,883 kB/s)          
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 179040 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_32.6.1-20210726122859_arm64.deb ...
The package is incompatible with Tegra SoC in this platform, quit.
dpkg: error processing archive /var/cache/apt/archives/nvidia-l4t-core_32.6.1-20210726122859_arm64.deb (--unpack):
 new nvidia-l4t-core package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-l4t-core_32.6.1-20210726122859_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
nvidia@nvidia-desktop:~/librdkafka$ 

Follow this link, https://zoomadmin.com/HowToInstall/UbuntuPackage/apt-utils
sudo apt-get install -y apt-utils

nvidia@nvidia-desktop:~/librdkafka$ sudo apt install --reinstall nvidia-l4t-coreReading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
  dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
  kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
  kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
  libkdecorations2private5v5 libkf5activities5 libkf5attica5
  libkf5completion-data libkf5completion5 libkf5declarative-data
  libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
  libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
  libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
  libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
  libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
  libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
  libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
  libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
  libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
  libkwinglutils11 libkwinxrenderutils11 libqgsttools-p1 libqt5designer5
  libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
  libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0
  libxcb-damage0 os-prober python3-dbus.mainloop.pyqt5 python3-icu python3-pam
  python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
  qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
  qml-module-qtquick2 rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  nvidia-l4t-core
1 upgraded, 0 newly installed, 0 to remove and 186 not upgraded.
Need to get 0 B/2,698 kB of archives.
After this operation, 93.2 kB of additional disk space will be used.
(Reading database ... 179078 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_32.6.1-20210726122859_arm64.deb ...
The package is incompatible with Tegra SoC in this platform, quit.
dpkg: error processing archive /var/cache/apt/archives/nvidia-l4t-core_32.6.1-20210726122859_arm64.deb (--unpack):
 new nvidia-l4t-core package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-l4t-core_32.6.1-20210726122859_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
nvidia@nvidia-desktop:~/librdkafka$ ^C

Here is the copy of the termainl

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

nvidia@nvidia-desktop:~$ 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=2.11-1c
[sudo] password for nvidia: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libgstrtspserver-1.0-0
E: Couldn't find any package by glob 'libgstrtspserver-1.0-0'
E: Couldn't find any package by regex 'libgstrtspserver-1.0-0'
E: Version '2.11-1c' for 'libjansson4' was not found
nvidia@nvidia-desktop:~$ 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=2.11-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libgstrtspserver-1.0-0
E: Couldn't find any package by glob 'libgstrtspserver-1.0-0'
E: Couldn't find any package by regex 'libgstrtspserver-1.0-0'
nvidia@nvidia-desktop:~$ sudo apt-get update -y
Get:1 file:/var/cuda-repo-l4t-10-2-local  InRelease
Ign:1 file:/var/cuda-repo-l4t-10-2-local  InRelease
Get:2 file:/var/visionworks-repo  InRelease
Ign:2 file:/var/visionworks-repo  InRelease
Get:3 file:/var/visionworks-sfm-repo  InRelease
Ign:3 file:/var/visionworks-sfm-repo  InRelease
Get:4 file:/var/visionworks-tracking-repo  InRelease
Ign:4 file:/var/visionworks-tracking-repo  InRelease
Get:5 file:/var/cuda-repo-l4t-10-2-local  Release [564 B]
Get:5 file:/var/cuda-repo-l4t-10-2-local  Release [564 B]
Get:6 file:/var/visionworks-repo  Release [2,001 B]                            
Get:6 file:/var/visionworks-repo  Release [2,001 B]                            
Get:7 file:/var/visionworks-sfm-repo  Release [2,005 B]                        
Get:7 file:/var/visionworks-sfm-repo  Release [2,005 B]                        
Get:8 file:/var/visionworks-tracking-repo  Release [2,010 B]                   
Get:9 file:/var/cuda-repo-l4t-10-2-local  Release.gpg [836 B]                  
Get:8 file:/var/visionworks-tracking-repo  Release [2,010 B]                   
Get:9 file:/var/cuda-repo-l4t-10-2-local  Release.gpg [836 B]                  
Get:10 file:/var/visionworks-repo  Release.gpg [833 B]                         
Get:10 file:/var/visionworks-repo  Release.gpg [833 B]                         
Get:11 file:/var/visionworks-sfm-repo  Release.gpg [833 B]                     
Get:11 file:/var/visionworks-sfm-repo  Release.gpg [833 B]                     
Get:12 file:/var/visionworks-tracking-repo  Release.gpg [833 B]                
Get:12 file:/var/visionworks-tracking-repo  Release.gpg [833 B]                
Get:13 https://repo.download.nvidia.com/jetson/common r32.6 InRelease [2,555 B]
Get:14 https://repo.download.nvidia.com/jetson/t210 r32.6 InRelease [2,547 B]  
Get:15 file:/var/cuda-repo-l4t-10-2-local  Packages [10.5 kB]                  
Get:16 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [242 kB]          
Get:17 file:/var/visionworks-repo  Packages [1,205 B]            
Get:18 file:/var/visionworks-sfm-repo  Packages [831 B]                        
Get:19 file:/var/visionworks-tracking-repo  Packages [836 B]                   
Get:20 https://repo.download.nvidia.com/jetson/common r32.6/main arm64 Packages [17.4 kB]
Get:21 https://repo.download.nvidia.com/jetson/t210 r32.6/main arm64 Packages [9,493 B]
Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:23 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB]
Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
Get:25 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 Packages [975 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main Translation-en [516 kB]
Get:27 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 DEP-11 Metadata [472 kB]
Get:28 http://ports.ubuntu.com/ubuntu-ports bionic/main DEP-11 48x48 Icons [118 kB]
Get:29 http://ports.ubuntu.com/ubuntu-ports bionic/main DEP-11 64x64 Icons [245 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports bionic/restricted arm64 Packages [664 B]
Get:31 http://ports.ubuntu.com/ubuntu-ports bionic/restricted Translation-en [3,584 B]
Get:32 http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 Packages [8,316 kB]
Get:33 http://ports.ubuntu.com/ubuntu-ports bionic/universe Translation-en [4,941 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 DEP-11 Metadata [3,243 kB]
Get:35 http://ports.ubuntu.com/ubuntu-ports bionic/universe DEP-11 48x48 Icons [2,151 kB]
Get:36 http://ports.ubuntu.com/ubuntu-ports bionic/universe DEP-11 64x64 Icons [8,420 kB]
Get:37 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse arm64 Packages [126 kB]
Get:38 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse Translation-en [108 kB]
Get:39 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse arm64 DEP-11 Metadata [44.4 kB]
Get:40 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse DEP-11 48x48 Icons [8,931 B]
Get:41 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse DEP-11 64x64 Icons [225 kB]
Get:42 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1,404 kB]
Get:43 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [452 kB]
Get:44 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 DEP-11 Metadata [290 kB]
Get:45 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main DEP-11 48x48 Icons [82.9 kB]
Get:46 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main DEP-11 64x64 Icons [154 kB]
Get:47 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [3,932 B]
Get:48 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted Translation-en [79.8 kB]
Get:49 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1,585 kB]
Get:50 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [385 kB]
Get:51 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 DEP-11 Metadata [295 kB]
Get:52 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe DEP-11 48x48 Icons [228 kB]
Get:53 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe DEP-11 64x64 Icons [506 kB]
Get:54 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [4,912 B]
Get:55 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse Translation-en [6,808 B]
Get:56 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse DEP-11 48x48 Icons [29 B]
Get:57 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse DEP-11 64x64 Icons [2,638 B]
Get:58 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [10.2 kB]
Get:59 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main Translation-en [4,824 B]
Get:60 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [11.0 kB]
Get:61 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe Translation-en [5,772 B]
Get:62 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 DEP-11 Metadata [9,268 B]
Get:63 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe DEP-11 48x48 Icons [2,809 B]
Get:64 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe DEP-11 64x64 Icons [3,943 B]
Get:65 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1,102 kB]
Get:66 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [359 kB]
Get:67 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 DEP-11 Metadata [46.8 kB]
Get:68 http://ports.ubuntu.com/ubuntu-ports bionic-security/main DEP-11 48x48 Icons [28.9 kB]
Get:69 http://ports.ubuntu.com/ubuntu-ports bionic-security/main DEP-11 64x64 Icons [65.2 kB]
Get:70 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [3,376 B]
Get:71 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted Translation-en [76.1 kB]
Get:72 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1,037 kB]
Get:73 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [268 kB]
Get:74 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 DEP-11 Metadata [54.1 kB]
Get:75 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe DEP-11 48x48 Icons [26.9 kB]
Get:76 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe DEP-11 64x64 Icons [138 kB]
Get:77 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2,732 B]
Get:78 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse Translation-en [4,732 B]
Get:79 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse DEP-11 48x48 Icons [29 B]
Get:80 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse DEP-11 64x64 Icons [2,638 B]
Fetched 39.2 MB in 21s (1,894 kB/s)                                            
Reading package lists... Done
nvidia@nvidia-desktop:~$ sudo apt-get install -y libgstrtspserver-1.0-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
  dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
  kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
  kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
  libkdecorations2private5v5 libkf5activities5 libkf5attica5
  libkf5completion-data libkf5completion5 libkf5declarative-data
  libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
  libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
  libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
  libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
  libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
  libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
  libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
  libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
  libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
  libkwinglutils11 libkwinxrenderutils11 libqgsttools-p1 libqt5designer5
  libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
  libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0
  libxcb-damage0 os-prober python3-dbus.mainloop.pyqt5 python3-icu python3-pam
  python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
  qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
  qml-module-qtquick2 rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libgstrtspserver-1.0-0
0 upgraded, 1 newly installed, 0 to remove and 189 not upgraded.
Need to get 95.3 kB of archives.
After this operation, 365 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 libgstrtspserver-1.0-0 arm64 1.14.5-0ubuntu1~18.04.1 [95.3 kB]
Fetched 95.3 kB in 1s (64.7 kB/s)                 
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libgstrtspserver-1.0-0.
(Reading database ... 178999 files and directories currently installed.)
Preparing to unpack .../libgstrtspserver-1.0-0_1.14.5-0ubuntu1~18.04.1_arm64.deb ...
Unpacking libgstrtspserver-1.0-0 (1.14.5-0ubuntu1~18.04.1) ...
Setting up libgstrtspserver-1.0-0 (1.14.5-0ubuntu1~18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
nvidia@nvidia-desktop:~$ 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=2.11-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libjansson4 is already the newest version (2.11-1).
libjansson4 set to manually installed.
gstreamer1.0-plugins-good is already the newest version (1.14.5-0ubuntu1~18.04.2).
gstreamer1.0-tools is already the newest version (1.14.5-0ubuntu1~18.04.2).
libgstreamer1.0-0 is already the newest version (1.14.5-0ubuntu1~18.04.2).
libgstreamer1.0-0 set to manually installed.
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).
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
  dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
  kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
  kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
  libkdecorations2private5v5 libkf5activities5 libkf5attica5
  libkf5completion-data libkf5completion5 libkf5declarative-data
  libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
  libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
  libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
  libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
  libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
  libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
  libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
  libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
  libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
  libkwinglutils11 libkwinxrenderutils11 libqgsttools-p1 libqt5designer5
  libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
  libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0
  libxcb-damage0 os-prober python3-dbus.mainloop.pyqt5 python3-icu python3-pam
  python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
  qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
  qml-module-qtquick2 rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  libssl1.0.0
1 upgraded, 0 newly installed, 0 to remove and 188 not upgraded.
Need to get 725 kB of archives.
After this operation, 4,096 B disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libssl1.0.0 arm64 1.0.2n-1ubuntu5.7 [725 kB]
Fetched 725 kB in 2s (348 kB/s)      
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 179004 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.2n-1ubuntu5.7_arm64.deb ...
Unpacking libssl1.0.0:arm64 (1.0.2n-1ubuntu5.7) over (1.0.2n-1ubuntu5.6) ...
Setting up libssl1.0.0:arm64 (1.0.2n-1ubuntu5.7) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
nvidia@nvidia-desktop:~$ ^C#######################################..........] 
nvidia@nvidia-desktop:~$ 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=2.11-1
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.2).
gstreamer1.0-tools is already the newest version (1.14.5-0ubuntu1~18.04.2).
libgstreamer1.0-0 is already the newest version (1.14.5-0ubuntu1~18.04.2).
libssl1.0.0 is already the newest version (1.0.2n-1ubuntu5.7).
libssl1.0.0 set to manually installed.
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).
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
  dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
  kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
  kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
  libkdecorations2private5v5 libkf5activities5 libkf5attica5
  libkf5completion-data libkf5completion5 libkf5declarative-data
  libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
  libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
  libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
  libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
  libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
  libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
  libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
  libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
  libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
  libkwinglutils11 libkwinxrenderutils11 libqgsttools-p1 libqt5designer5
  libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
  libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0
  libxcb-damage0 os-prober python3-dbus.mainloop.pyqt5 python3-icu python3-pam
  python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
  qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
  qml-module-qtquick2 rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 188 not upgraded.
nvidia@nvidia-desktop:~$ git clone https://github.com/edenhill/librdkafka.git
Cloning into 'librdkafka'...
remote: Enumerating objects: 26840, done.
remote: Counting objects: 100% (1583/1583), done.
remote: Compressing objects: 100% (644/644), done.
remote: Total 26840 (delta 1034), reused 1335 (delta 934), pack-reused 25257
Receiving objects: 100% (26840/26840), 23.98 MiB | 2.27 MiB/s, done.
Resolving deltas: 100% (20453/20453), done.
nvidia@nvidia-desktop:~$ cd librdkafka
nvidia@nvidia-desktop:~/librdkafka$ git reset --hard 7101c2310341ab3f4675fc565f64f0967e135a6a
HEAD is now at 7101c231 Read Fetch MsgAttributes as int8 (discovered by @tvoinarovskyi, closes #1689)
nvidia@nvidia-desktop:~/librdkafka$ ./configure
checking for OS or distribution... ok (Ubuntu)
checking for C compiler from CC env... failed
checking for gcc (by command)... ok
checking for C++ compiler from CXX env... failed
checking for C++ compiler (g++)... ok
checking executable ld... ok
checking executable nm... ok
checking executable objdump... ok
checking executable strip... ok
checking for pkgconfig (by command)... ok
checking for install (by command)... ok
checking for PIC (by compile)... ok
checking for GNU-compatible linker options... ok
checking for GNU linker-script ld flag... ok
checking for __atomic_32 (by compile)... ok
checking for __atomic_64 (by compile)... ok
checking for socket (by compile)... ok
parsing version '0x000b0401'... ok (0.11.4)
checking for libpthread (by pkg-config)... failed
checking for libpthread (by compile)... ok
checking for zlib (by pkg-config)... ok
checking for zlib (by compile)... ok (cached)
checking for libcrypto (by pkg-config)... failed
checking for libcrypto (by compile)... failed (disable)
checking for liblz4 (by pkg-config)... failed
checking for liblz4 (by compile)... failed (disable)
checking for libssl (by pkg-config)... failed
checking for libssl (by compile)... failed (disable)
checking for libsasl2 (by pkg-config)... failed
checking for libsasl2 (by compile)... failed (disable)
checking for libsasl (by pkg-config)... failed
checking for libsasl (by compile)... failed (disable)
checking for crc32chw (by compile)... failed (disable)
checking for regex (by compile)... ok
checking for librt (by pkg-config)... failed
checking for librt (by compile)... ok
checking for strndup (by compile)... ok
checking for strerror_r (by compile)... ok
checking for libdl (by pkg-config)... failed
checking for libdl (by compile)... ok
checking for pthread_setname_gnu (by compile)... ok
checking for nm (by env NM)... ok (cached)
checking for python (by command)... ok
Generated Makefile.config
Generated config.h

Configuration summary:
  prefix                   /usr/local
  ARCH                     aarch64
  CPU                      generic
  GEN_PKG_CONFIG           y
  ENABLE_DEVEL             n
  ENABLE_VALGRIND          n
  ENABLE_REFCNT_DEBUG      n
  ENABLE_SHAREDPTR_DEBUG   n
  ENABLE_LZ4_EXT           y
  ENABLE_SSL               y
  ENABLE_SASL              y
  MKL_APP_NAME             librdkafka
  MKL_APP_DESC_ONELINE     The Apache Kafka C/C++ library
  MKL_DISTRO               Ubuntu
  SOLIB_EXT                .so
  CC                       gcc
  CXX                      g++
  LD                       ld
  NM                       nm
  OBJDUMP                  objdump
  STRIP                    strip
  CPPFLAGS                 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align
  PKG_CONFIG               pkg-config
  INSTALL                  install
  LIB_LDFLAGS              -shared -Wl,-soname,$(LIBFILENAME)
  LDFLAG_LINKERSCRIPT      -Wl,--version-script=
  RDKAFKA_VERSION_STR      0.11.4
  MKL_APP_VERSION          0.11.4
  LIBS                     -lpthread -lz -lrt -ldl
  CFLAGS                   
  CXXFLAGS                 -Wno-non-virtual-dtor
  SYMDUMPER                $(NM) -D
  exec_prefix              /usr/local
  bindir                   /usr/local/bin
  sbindir                  /usr/local/sbin
  libexecdir               /usr/local/libexec
  datadir                  /usr/local/share
  sysconfdir               /usr/local/etc
  sharedstatedir           /usr/local/com
  localstatedir            /usr/local/var
  libdir                   /usr/local/lib
  includedir               /usr/local/include
  infodir                  /usr/local/info
  mandir                   /usr/local/man
Generated config.cache

Now type 'make' to build
nvidia@nvidia-desktop:~/librdkafka$  make
make[1]: Entering directory '/home/nvidia/librdkafka/src'
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka.c -o rdkafka.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_broker.c -o rdkafka_broker.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_msg.c -o rdkafka_msg.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_topic.c -o rdkafka_topic.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_conf.c -o rdkafka_conf.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_timer.c -o rdkafka_timer.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_offset.c -o rdkafka_offset.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_transport.c -o rdkafka_transport.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_buf.c -o rdkafka_buf.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_queue.c -o rdkafka_queue.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_op.c -o rdkafka_op.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_request.c -o rdkafka_request.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_cgrp.c -o rdkafka_cgrp.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_pattern.c -o rdkafka_pattern.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_partition.c -o rdkafka_partition.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_subscription.c -o rdkafka_subscription.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_assignor.c -o rdkafka_assignor.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_range_assignor.c -o rdkafka_range_assignor.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_roundrobin_assignor.c -o rdkafka_roundrobin_assignor.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_feature.c -o rdkafka_feature.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdcrc32.c -o rdcrc32.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c crc32c.c -o crc32c.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdmurmur2.c -o rdmurmur2.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdaddr.c -o rdaddr.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdrand.c -o rdrand.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdlist.c -o rdlist.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c tinycthread.c -o tinycthread.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdlog.c -o rdlog.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdstring.c -o rdstring.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_event.c -o rdkafka_event.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_metadata.c -o rdkafka_metadata.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdregex.c -o rdregex.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdports.c -o rdports.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_metadata_cache.c -o rdkafka_metadata_cache.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdavl.c -o rdavl.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_sasl.c -o rdkafka_sasl.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_sasl_plain.c -o rdkafka_sasl_plain.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_interceptor.c -o rdkafka_interceptor.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_msgset_writer.c -o rdkafka_msgset_writer.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_msgset_reader.c -o rdkafka_msgset_reader.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_header.c -o rdkafka_header.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdvarint.c -o rdvarint.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdbuf.c -o rdbuf.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdunittest.c -o rdunittest.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c snappy.c -o snappy.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdgz.c -o rdgz.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_lz4.c -o rdkafka_lz4.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -O3 -c xxhash.c -o xxhash.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -O3 -c lz4.c -o lz4.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -O3 -c lz4frame.c -o lz4frame.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -O3 -c lz4hc.c -o lz4hc.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rddl.c -o rddl.o
gcc -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -DLIBRDKAFKA_GIT_VERSION="\"v0.11.3-CI1-36-g7101c2\""  -c rdkafka_plugin.c -o rdkafka_plugin.o
Generating linker script librdkafka.lds from rdkafka.h
Creating shared library librdkafka.so.1
gcc  -shared -Wl,-soname,librdkafka.so.1 -Wl,--version-script=librdkafka.lds rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdaddr.o rdrand.o rdlist.o tinycthread.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdvarint.o rdbuf.o rdunittest.o snappy.o rdgz.o rdkafka_lz4.o xxhash.o lz4.o lz4frame.o lz4hc.o rddl.o rdkafka_plugin.o -o librdkafka.so.1 -lpthread -lz -lrt -ldl
Creating static library librdkafka.a
ar rcs librdkafka.a rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdaddr.o rdrand.o rdlist.o tinycthread.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdvarint.o rdbuf.o rdunittest.o snappy.o rdgz.o rdkafka_lz4.o xxhash.o lz4.o lz4frame.o lz4hc.o rddl.o rdkafka_plugin.o
Creating librdkafka.so symlink
rm -f "librdkafka.so" && ln -s "librdkafka.so.1" "librdkafka.so"
Generating pkg-config file rdkafka.pc
Checking librdkafka integrity
librdkafka.so.1                OK
librdkafka.a                   OK
Symbol visibility              OK
make[1]: Leaving directory '/home/nvidia/librdkafka/src'
make[1]: Entering directory '/home/nvidia/librdkafka/src-cpp'
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c RdKafka.cpp -o RdKafka.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ConfImpl.cpp -o ConfImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c HandleImpl.cpp -o HandleImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ConsumerImpl.cpp -o ConsumerImpl.o........] 
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c ProducerImpl.cpp -o ProducerImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c KafkaConsumerImpl.cpp -o KafkaConsumerImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c TopicImpl.cpp -o TopicImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c TopicPartitionImpl.cpp -o TopicPartitionImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c MessageImpl.cpp -o MessageImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c QueueImpl.cpp -o QueueImpl.o
g++ -MD -MP -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -c MetadataImpl.cpp -o MetadataImpl.o
Generating linker script librdkafka++.lds from rdkafkacpp.h
Creating shared library librdkafka++.so.1
gcc  -shared -Wl,-soname,librdkafka++.so.1 RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o QueueImpl.o MetadataImpl.o -o librdkafka++.so.1 -L../src -lrdkafka -lstdc++
Creating static library librdkafka++.a
ar rcs librdkafka++.a RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o QueueImpl.o MetadataImpl.o
Creating librdkafka++.so symlink
rm -f "librdkafka++.so" && ln -s "librdkafka++.so.1" "librdkafka++.so"
Generating pkg-config file rdkafka++.pc
Checking librdkafka++ integrity
librdkafka++.so.1              OK
librdkafka++.a                 OK
make[1]: Leaving directory '/home/nvidia/librdkafka/src-cpp'
make -C examples
make[1]: Entering directory '/home/nvidia/librdkafka/examples'
gcc -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align  -I../src rdkafka_example.c -o rdkafka_example  \
	../src/librdkafka.a -lpthread -lz -lrt -ldl
# rdkafka_example is ready
#
# Run producer (write messages on stdin)
./rdkafka_example -P -t <topic> -p <partition>

# or consumer
./rdkafka_example -C -t <topic> -p <partition>

#
# More usage options:
./rdkafka_example -h
gcc -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align  -I../src rdkafka_performance.c -o rdkafka_performance  \
	../src/librdkafka.a -lpthread -lz -lrt -ldl
# rdkafka_performance is ready
#
# Run producer
./rdkafka_performance -P -t <topic> -p <partition> -s <msgsize>

# or consumer
./rdkafka_performance -C -t <topic> -p <partition>

#
# More usage options:
./rdkafka_performance -h
g++ -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -I../src-cpp rdkafka_example.cpp -o rdkafka_example_cpp  \
	../src-cpp/librdkafka++.a ../src/librdkafka.a -lpthread -lz -lrt -ldl -lstdc++
gcc -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align  -I../src rdkafka_consumer_example.c -o rdkafka_consumer_example  \
	../src/librdkafka.a -lpthread -lz -lrt -ldl
# rdkafka_consumer_example is ready
#
./rdkafka_consumer_example <topic[:part]> <topic2[:part]> ..

#
# More usage options:
./rdkafka_consumer_example -h
g++ -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -I../src-cpp rdkafka_consumer_example.cpp -o rdkafka_consumer_example_cpp  \
	../src-cpp/librdkafka++.a ../src/librdkafka.a -lpthread -lz -lrt -ldl -lstdc++
g++ -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wno-non-virtual-dtor -I../src-cpp kafkatest_verifiable_client.cpp -o kafkatest_verifiable_client  \
	../src-cpp/librdkafka++.a ../src/librdkafka.a -lpthread -lz -lrt -ldl -lstdc++
gcc -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align  -I../src rdkafka_simple_producer.c -o rdkafka_simple_producer  \
	../src/librdkafka.a -lpthread -lz -lrt -ldl
make[1]: Leaving directory '/home/nvidia/librdkafka/examples'
Updating
CONFIGURATION.md CONFIGURATION.md.tmp differ: byte 345, line 6
Checking  integrity
CONFIGURATION.md               OK
examples/rdkafka_example       OK
examples/rdkafka_performance   OK
examples/rdkafka_example_cpp   OK
make[1]: Entering directory '/home/nvidia/librdkafka/src'
Checking librdkafka integrity
librdkafka.so.1                OK
librdkafka.a                   OK
Symbol visibility              OK
make[1]: Leaving directory '/home/nvidia/librdkafka/src'
make[1]: Entering directory '/home/nvidia/librdkafka/src-cpp'
Checking librdkafka++ integrity
librdkafka++.so.1              OK
librdkafka++.a                 OK
make[1]: Leaving directory '/home/nvidia/librdkafka/src-cpp'
nvidia@nvidia-desktop:~/librdkafka$ sudo make install
make[1]: Entering directory '/home/nvidia/librdkafka/src'
Install librdkafka to /usr/local
install -d $DESTDIR/usr/local/include/librdkafka ; \
install -d $DESTDIR/usr/local/lib ; \
install rdkafka.h $DESTDIR/usr/local/include/librdkafka ; \
install librdkafka.a $DESTDIR/usr/local/lib ; \
install librdkafka.so.1 $DESTDIR/usr/local/lib ; \
[ -f "rdkafka.pc" ] && ( \
	install -d $DESTDIR/usr/local/lib/pkgconfig ; \
	install -m 0644 rdkafka.pc $DESTDIR/usr/local/lib/pkgconfig \
) ; \
(cd $DESTDIR/usr/local/lib && ln -sf librdkafka.so.1 librdkafka.so)
make[1]: Leaving directory '/home/nvidia/librdkafka/src'
make[1]: Entering directory '/home/nvidia/librdkafka/src-cpp'
Install librdkafka++ to /usr/local
install -d $DESTDIR/usr/local/include/librdkafka ; \
install -d $DESTDIR/usr/local/lib ; \
install rdkafkacpp.h $DESTDIR/usr/local/include/librdkafka ; \
install librdkafka++.a $DESTDIR/usr/local/lib ; \
install librdkafka++.so.1 $DESTDIR/usr/local/lib ; \
[ -f "rdkafka++.pc" ] && ( \
	install -d $DESTDIR/usr/local/lib/pkgconfig ; \
	install -m 0644 rdkafka++.pc $DESTDIR/usr/local/lib/pkgconfig \
) ; \
(cd $DESTDIR/usr/local/lib && ln -sf librdkafka++.so.1 librdkafka++.so)
make[1]: Leaving directory '/home/nvidia/librdkafka/src-cpp'
nvidia@nvidia-desktop:~/librdkafka$ sudo mkdir -p /opt/nvidia/deepstream/deepstream-5.0/lib
nvidia@nvidia-desktop:~/librdkafka$ sudo cp /usr/local/lib/librdkafka* /opt/nvidia/deepstream/deepstream-5.0/lib
nvidia@nvidia-desktop:~/librdkafka$ sudo vi /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
nvidia@nvidia-desktop:~/librdkafka$  sudo apt update
Get:1 file:/var/cuda-repo-l4t-10-2-local  InRelease
Ign:1 file:/var/cuda-repo-l4t-10-2-local  InRelease
Get:2 file:/var/visionworks-repo  InRelease
Ign:2 file:/var/visionworks-repo  InRelease
Get:3 file:/var/visionworks-sfm-repo  InRelease
Ign:3 file:/var/visionworks-sfm-repo  InRelease
Get:4 file:/var/visionworks-tracking-repo  InRelease
Ign:4 file:/var/visionworks-tracking-repo  InRelease
Get:5 file:/var/cuda-repo-l4t-10-2-local  Release [564 B]
Get:5 file:/var/cuda-repo-l4t-10-2-local  Release [564 B]
Get:6 file:/var/visionworks-repo  Release [2,001 B]                            
Get:6 file:/var/visionworks-repo  Release [2,001 B]                            
Get:7 file:/var/visionworks-sfm-repo  Release [2,005 B]                        
Get:7 file:/var/visionworks-sfm-repo  Release [2,005 B]                        
Get:8 file:/var/visionworks-tracking-repo  Release [2,010 B]                   
Get:8 file:/var/visionworks-tracking-repo  Release [2,010 B]                   
Hit:9 https://repo.download.nvidia.com/jetson/common r32.6 InRelease           
Get:10 https://repo.download.nvidia.com/jetson/t194 r32.6 InRelease [2,547 B]  
Hit:12 http://ports.ubuntu.com/ubuntu-ports bionic InRelease                   
Hit:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:17 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:18 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Get:19 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 Packages [9,508 B]
Fetched 12.1 kB in 2s (4,824 B/s)                    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
201 packages can be upgraded. Run 'apt list --upgradable' to see them.
nvidia@nvidia-desktop:~/librdkafka$ sudo apt install --reinstall nvidia-l4t-gstreamer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
  dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
  kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
  kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
  libkdecorations2private5v5 libkf5activities5 libkf5attica5
  libkf5completion-data libkf5completion5 libkf5declarative-data
  libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
  libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
  libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
  libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
  libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
  libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
  libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
  libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
  libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
  libkwinglutils11 libkwinxrenderutils11 libqgsttools-p1 libqt5designer5
  libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
  libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0
  libxcb-damage0 os-prober python3-dbus.mainloop.pyqt5 python3-icu python3-pam
  python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
  qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
  qml-module-qtquick2 rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  nvidia-l4t-3d-core nvidia-l4t-camera nvidia-l4t-cuda nvidia-l4t-firmware
  nvidia-l4t-graphics-demos nvidia-l4t-init nvidia-l4t-jetson-multimedia-api
  nvidia-l4t-libvulkan nvidia-l4t-multimedia nvidia-l4t-multimedia-utils
  nvidia-l4t-wayland nvidia-l4t-weston nvidia-l4t-x11
The following packages will be upgraded:
  nvidia-l4t-3d-core nvidia-l4t-camera nvidia-l4t-cuda nvidia-l4t-firmware
  nvidia-l4t-graphics-demos nvidia-l4t-gstreamer nvidia-l4t-init
  nvidia-l4t-jetson-multimedia-api nvidia-l4t-libvulkan nvidia-l4t-multimedia
  nvidia-l4t-multimedia-utils nvidia-l4t-wayland nvidia-l4t-weston
  nvidia-l4t-x11
14 upgraded, 0 newly installed, 0 to remove and 187 not upgraded.
Need to get 151 MB of archives.
After this operation, 13.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-gstreamer arm64 32.6.1-20210916210945 [777 kB]
Get:2 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-jetson-multimedia-api arm64 32.6.1-20210916210945 [75.2 MB]
Get:3 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-camera arm64 32.6.1-20210916210945 [5,143 kB]
Get:4 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-multimedia arm64 32.6.1-20210916210945 [7,257 kB]
Get:5 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-cuda arm64 32.6.1-20210916210945 [3,029 kB]
Get:6 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-graphics-demos arm64 32.6.1-20210916210945 [28.0 MB]
Get:7 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-3d-core arm64 32.6.1-20210916210945 [27.7 MB]
Get:8 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-libvulkan arm64 32.6.1-20210916210945 [108 kB]
Get:9 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-weston arm64 32.6.1-20210916210945 [1,445 kB]
Get:10 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-multimedia-utils arm64 32.6.1-20210916210945 [26.9 kB]
Get:11 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-x11 arm64 32.6.1-20210916210945 [88.7 kB]
Get:12 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-init arm64 32.6.1-20210916210945 [69.2 kB]
Get:13 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-firmware arm64 32.6.1-20210916210945 [1,686 kB]
Get:14 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-wayland arm64 32.6.1-20210916210945 [24.4 kB]
Fetched 151 MB in 1min 2s (2,443 kB/s)                                         
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 179004 files and directories currently installed.)
Preparing to unpack .../00-nvidia-l4t-gstreamer_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-gstreamer (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../01-nvidia-l4t-jetson-multimedia-api_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-jetson-multimedia-api (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../02-nvidia-l4t-camera_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-camera (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../03-nvidia-l4t-multimedia_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-multimedia (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../04-nvidia-l4t-cuda_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-cuda (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../05-nvidia-l4t-graphics-demos_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-graphics-demos (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../06-nvidia-l4t-3d-core_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-3d-core (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../07-nvidia-l4t-libvulkan_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-libvulkan (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../08-nvidia-l4t-weston_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-weston (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../09-nvidia-l4t-multimedia-utils_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-multimedia-utils (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../10-nvidia-l4t-x11_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-x11 (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../11-nvidia-l4t-init_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-init (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../12-nvidia-l4t-firmware_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-firmware (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Preparing to unpack .../13-nvidia-l4t-wayland_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-wayland (32.6.1-20210916210945) over (32.6.1-20210726122000) ...
Setting up nvidia-l4t-libvulkan (32.6.1-20210916210945) ...
Setting up nvidia-l4t-multimedia-utils (32.6.1-20210916210945) ...
Setting up nvidia-l4t-firmware (32.6.1-20210916210945) ...
Setting up nvidia-l4t-init (32.6.1-20210916210945) ...
Installing new version of config file /etc/asound.conf.tegrahda ...
Installing new version of config file /etc/enctune.conf ...
Installing new version of config file /etc/nvidia-container-runtime/host-files-for-container.d/l4t.csv ...
Setting up nvidia-l4t-wayland (32.6.1-20210916210945) ...
Setting up nvidia-l4t-x11 (32.6.1-20210916210945) ...
Setting up nvidia-l4t-weston (32.6.1-20210916210945) ...
Setting up nvidia-l4t-3d-core (32.6.1-20210916210945) ...
Setting up nvidia-l4t-cuda (32.6.1-20210916210945) ...
Setting up nvidia-l4t-multimedia (32.6.1-20210916210945) ...
Setting up nvidia-l4t-camera (32.6.1-20210916210945) ...
Setting up nvidia-l4t-graphics-demos (32.6.1-20210916210945) ...
Setting up nvidia-l4t-gstreamer (32.6.1-20210916210945) ...
Setting up nvidia-l4t-jetson-multimedia-api (32.6.1-20210916210945) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
nvidia@nvidia-desktop:~/librdkafka$ sudo apt install --reinstall nvidia-l4t-multimedia
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
  dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
  kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
  kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
  libkdecorations2private5v5 libkf5activities5 libkf5attica5
  libkf5completion-data libkf5completion5 libkf5declarative-data
  libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
  libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
  libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
  libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
  libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
  libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
  libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
  libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
  libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
  libkwinglutils11 libkwinxrenderutils11 libqgsttools-p1 libqt5designer5
  libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
  libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0
  libxcb-damage0 os-prober python3-dbus.mainloop.pyqt5 python3-icu python3-pam
  python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
  qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
  qml-module-qtquick2 rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 187 not upgraded.
Need to get 7,257 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-multimedia arm64 32.6.1-20210916210945 [7,257 kB]
Fetched 7,257 kB in 3s (2,536 kB/s)                
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 179040 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-multimedia_32.6.1-20210916210945_arm64.deb ...
Unpacking nvidia-l4t-multimedia (32.6.1-20210916210945) over (32.6.1-20210916210945) ...
Setting up nvidia-l4t-multimedia (32.6.1-20210916210945) ...
nvidia@nvidia-desktop:~/librdkafka$ sudo apt install --reinstall nvidia-l4t-coreReading package lists... Done
Building dependency tree       
Reading state information... Done

The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
  dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
  kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
  kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
  libkdecorations2private5v5 libkf5activities5 libkf5attica5
  libkf5completion-data libkf5completion5 libkf5declarative-data
  libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
  libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
  libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
  libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
  libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
  libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
  libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
  libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
  libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
  libkwinglutils11 libkwinxrenderutils11 libqgsttools-p1 libqt5designer5
  libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
  libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0
  libxcb-damage0 os-prober python3-dbus.mainloop.pyqt5 python3-icu python3-pam
  python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
  qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
  qml-module-qtquick2 rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  nvidia-l4t-core
1 upgraded, 0 newly installed, 0 to remove and 186 not upgraded.
Need to get 2,698 kB of archives.
After this operation, 93.2 kB of additional disk space will be used.
Get:1 https://repo.download.nvidia.com/jetson/t194 r32.6/main arm64 nvidia-l4t-core arm64 32.6.1-20210726122859 [2,698 kB]
Fetched 2,698 kB in 1s (2,883 kB/s)          
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 179040 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_32.6.1-20210726122859_arm64.deb ...
The package is incompatible with Tegra SoC in this platform, quit.
dpkg: error processing archive /var/cache/apt/archives/nvidia-l4t-core_32.6.1-20210726122859_arm64.deb (--unpack):
 new nvidia-l4t-core package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-l4t-core_32.6.1-20210726122859_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
nvidia@nvidia-desktop:~/librdkafka$ ^C
nvidia@nvidia-desktop:~/librdkafka$ sudo apt-get install -y apt-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
  dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
  kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
  kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
  libkdecorations2private5v5 libkf5activities5 libkf5attica5
  libkf5completion-data libkf5completion5 libkf5declarative-data
  libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
  libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
  libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
  libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
  libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
  libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
  libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
  libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
  libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
  libkwinglutils11 libkwinxrenderutils11 libqgsttools-p1 libqt5designer5
  libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
  libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0
  libxcb-damage0 os-prober python3-dbus.mainloop.pyqt5 python3-icu python3-pam
  python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
  qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
  qml-module-qtquick2 rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  apt-utils
0 upgraded, 1 newly installed, 0 to remove and 187 not upgraded.
Need to get 201 kB of archives.
After this operation, 766 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 apt-utils arm64 1.6.14 [201 kB]
Fetched 201 kB in 2s (93.4 kB/s)                   
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package apt-utils.
(Reading database ... 179040 files and directories currently installed.)
Preparing to unpack .../apt-utils_1.6.14_arm64.deb ...
Unpacking apt-utils (1.6.14) ...
Setting up apt-utils (1.6.14) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
nvidia@nvidia-desktop:~/librdkafka$ sudo apt install --reinstall nvidia-l4t-coreReading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin
  dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
  kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common
  kwin-data kwin-x11 libdebian-installer4 libkdecorations2-5v5
  libkdecorations2private5v5 libkf5activities5 libkf5attica5
  libkf5completion-data libkf5completion5 libkf5declarative-data
  libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5
  libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
  libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5
  libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5
  libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5
  libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data
  libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
  libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data
  libkf5xmlgui5 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11
  libkwinglutils11 libkwinxrenderutils11 libqgsttools-p1 libqt5designer5
  libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5opengl5
  libqt5quickwidgets5 libqt5sql5 libqt5test5 libxcb-composite0 libxcb-cursor0
  libxcb-damage0 os-prober python3-dbus.mainloop.pyqt5 python3-icu python3-pam
  python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit
  qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
  qml-module-qtquick2 rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  nvidia-l4t-core
1 upgraded, 0 newly installed, 0 to remove and 186 not upgraded.
Need to get 0 B/2,698 kB of archives.
After this operation, 93.2 kB of additional disk space will be used.
(Reading database ... 179078 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_32.6.1-20210726122859_arm64.deb ...
The package is incompatible with Tegra SoC in this platform, quit.
dpkg: error processing archive /var/cache/apt/archives/nvidia-l4t-core_32.6.1-20210726122859_arm64.deb (--unpack):
 new nvidia-l4t-core package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-l4t-core_32.6.1-20210726122859_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
nvidia@nvidia-desktop:~/librdkafka$ ^C
nvidia@nvidia-desktop:~/librdkafka$ sudo apt install --reinstall nvidia-l4t-core 

Please have a try clean install with below guide.

Quickstart Guide — DeepStream 6.0 Release documentation (nvidia.com)

I redo the whole things again, wait.
And do you know the deepstream pose estimation does not work with deepstream 6.0?

Here is what I did for the last 24 hrs, I am tired… still has error. >_< Can Nvidia gives a proper instruction of make the deep stream pose estimation works? Thx

Following this link
https://github.com/NVIDIA-AI-IOT/deepstream_pose_estimation#:~:text=Human%20pose%20estimation%20is%20the,a%20video%20or%20a%20photo.

1. Install DeepStream on your platform, verify it is working by running deepstream-app.
Download DeepStream 5.0to my Downloads folder
https://developer.nvidia.com/assets/Deepstream/5.0/ga/secure/deepstream_sdk_5.0_jetson.tbz2

Follow the setup guide "Install Jetson SDK compenents"
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html#jetson-setup

nvidia@nvidia-desktop:~$ 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=2.11-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libgstrtspserver-1.0-0
E: Couldn't find any package by glob 'libgstrtspserver-1.0-0'
E: Couldn't find any package by regex 'libgstrtspserver-1.0-0'
nvidia@nvidia-desktop:~$ 

	Follow this link, https://zoomadmin.com/HowToInstall/UbuntuPackage/libgstrtspserver-1.0-0
	sudo apt-get update -y
	sudo apt-get install -y libgstrtspserver-1.0-0

nvidia@nvidia-desktop:~$ 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=2.11-1
git clone https://github.com/edenhill/librdkafka.git
cd librdkafka
git reset --hard 7101c2310341ab3f4675fc565f64f0967e135a6a
./configure
make
sudo make install
#need to modify for 5.0
sudo mkdir -p /opt/nvidia/deepstream/deepstream-5.0/lib
sudo cp /usr/local/lib/librdkafka* /opt/nvidia/deepstream/deepstream-5.0/lib

sudo vi /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
Modify the code to 
	deb https://repo.download.nvidia.com/jetson/common r32.6 main
	deb https://repo.download.nvidia.com/jetson/t194 r32.6 main

sudo apt update
sudo apt install --reinstall nvidia-l4t-gstreamer
sudo apt install --reinstall nvidia-l4t-multimedia
sudo apt install --reinstall nvidia-l4t-core
cd
cd Downloads
sudo tar -xvf deepstream_sdk_5.0_jetson.tbz2 -C /
cd /opt/nvidia/deepstream/deepstream-5.0
sudo ./install.sh
sudo ldconfig
cd /opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps
sudo git clone https://github.com/NVIDIA-AI-IOT/deepstream_pose_estimation.git
cd
#########################################
#Goto trtpose
#Install pytorch and torchyvision
#Follow: https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-10-now-available/72048
wget https://nvidia.box.com/shared/static/p57jwntv436lfrd78inwl7iml6p13fzh.whl -O torch-1.8.0-cp36-cp36m-linux_aarch64.whl
sudo apt-get install python3-pip libopenblas-base libopenmpi-dev 
pip3 install Cython
pip3 install numpy torch-1.8.0-cp36-cp36m-linux_aarch64.whl
##
##torchvision
sudo apt-get install libjpeg-dev zlib1g-dev libpython3-dev libavcodec-dev libavformat-dev libswscale-dev
git clone --branch v0.9.0 https://github.com/pytorch/vision torchvision
cd torchvision
export BUILD_VERSION=0.9.0
python3 setup.py install --user
cd ../
pip install 'pillow<7'
#####################################
# pip not found
apt-get install python-pip
##################################
pip install 'pillow<7'

##########################################################
git clone https://github.com/NVIDIA-AI-IOT/torch2trt
cd torch2trt
sudo python3 setup.py install --plugins
#########################################################

###################################################
#ModuleNotFoundError: No module named 'packaging'
#from this link, https://stackoverflow.com/questions/42222096/no-module-named-packaging
pip3 install --upgrade pip
pip3 install packaging
#####################################################

sudo python3 setup.py install --plugins

sudo pip3 install tqdm cython pycocotools
sudo apt-get install python3-matplotlib


cd
git clone https://github.com/NVIDIA-AI-IOT/trt_pose
cd trt_pose
sudo python3 setup.py install

#Download the two model
https://drive.google.com/file/d/1XYDdCUdiF2xxx4rznmLb62SdOUZuoNbd/view?usp=drive_open
https://drive.google.com/file/d/13FkJkx7evQ1WwP54UmdiDXWyFMY1OxDU/view?usp=drive_open
#copy these two models to Place the downloaded weights in the tasks/human_pose directory
#copy these two models to Place the downloaded weights in the ~trt_pose/trt_pose/utils directory
cd
cd trt_pose/trt_pose/utils
#error
# follow this link
https://forums.developer.nvidia.com/t/conversion-of-model-weights-for-human-pose-estimation-model-to-onnx-results-in-nonsensical-pose-estimation/164417/11
#freeze
#need to increase the swap memory
python3 export_for_isaac.py --input_checkpoint resnet18_baseline_att_224x224_A_epoch_249.pth --input_topology ../../tasks/human_pose/human_pose.json

cd
git clone https://github.com/NVIDIA-AI-IOT/deepstream_pose_estimation.git
#copy the onnx file to deepstream_pose_estimation
#Replace the OSD binaries (x86 or Jetson) in $DEEPSTREAM_DIR/libs with the ones provided in this #repository under bin/. Please note that these are not inter-compatible across platforms.

nvidia@nvidia-desktop:~/deepstream_pose_estimation/bin$ ls
Jetson  x86
nvidia@nvidia-desktop:~/deepstream_pose_estimation/bin$ cd Jetson/
nvidia@nvidia-desktop:~/deepstream_pose_estimation/bin/Jetson$ ls
libnvds_osd.so
nvidia@nvidia-desktop:~/deepstream_pose_estimation/bin/Jetson$ sudo cp libnvds_osd.so /opt/nvidia/deepstream/deepstream-5.0/lib
[sudo] password for nvidia: 
nvidia@nvidia-desktop:~/deepstream_pose_estimation/bin/Jetson$ 

nvidia@nvidia-desktop:~/deepstream_pose_estimation$ sudo make
Package json-glib-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `json-glib-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'json-glib-1.0' found
g++ -c -o deepstream_pose_estimation_app.o -DPLATFORM_TEGRA -I../../apps-common/includes -I../../../includes -I../deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5  deepstream_pose_estimation_app.cpp
In file included from deepstream_pose_estimation_app.cpp:4:0:
post_process.cpp:8:10: fatal error: gst/gst.h: No such file or directory
 #include <gst/gst.h>
          ^~~~~~~~~~~
compilation terminated.
Makefile:44: recipe for target 'deepstream_pose_estimation_app.o' failed
make: *** [deepstream_pose_estimation_app.o] Error 1
nvidia@nvidia-desktop:~/deepstream_pose_estimation$ 
sudo apt-get install libgstreamer1.0-dev
sudo apt install libjson-glib-dev

nvidia@nvidia-desktop:~/deepstream_pose_estimation$ sudo make
g++ -c -o deepstream_pose_estimation_app.o -DPLATFORM_TEGRA -I../../apps-common/includes -I../../../includes -I../deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include deepstream_pose_estimation_app.cpp
In file included from deepstream_pose_estimation_app.cpp:4:0:
post_process.cpp:12:10: fatal error: gstnvdsmeta.h: No such file or directory
 #include "gstnvdsmeta.h"
          ^~~~~~~~~~~~~~~
compilation terminated.
Makefile:44: recipe for target 'deepstream_pose_estimation_app.o' failed
make: *** [deepstream_pose_estimation_app.o] Error 1

#copy all files in /opt/nvidia/deepstream/deepstream-5.1/sources/includes/ to deepstream_pose_estimation
sudo make
#download a crowd video from https://www.pexels.com/search/videos/crowd/
$copy the video.mp4 to :~/deepstream_pose_estimation

sudo ./deepstream-pose-estimation-app test.mp4 
nvidia@nvidia-desktop:~/deepstream_pose_estimation$ sudo ./deepstream-pose-estimation-app test.mp4 .
One element could not be created. Exiting.
nvidia@nvidia-desktop:~/deepstream_pose_estimation$ sudo ./deepstream-pose-estimation-app test.mp4 Pose_Estimation.mp4
One element could not be created. Exiting.
nvidia@nvidia-desktop:~/deepstream_pose_estimation$ 


















I use this video source
https://www.pexels.com/video/a-commercial-street-full-of-people-2881984/
Is there any sample mp4 I should use? Thx

Please refer to your own topic Creating a Human Pose Estimation Application with NVIDIA DeepStream - Content Discussions / Developer Blog - NVIDIA Developer Forums.

Can we track the issue in one topic?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.