~/Desktop/driveworks_installs/driveworks_4.0_x86/host_linux$ sudo dpkg -i driveworks-v4.0.0_28713403_20210920_8c34ae28c6a_nopdkgcid_linux-amd64-ubuntu.deb
(Reading database … 296868 files and directories currently installed.)
Preparing to unpack driveworks-v4.0.0_28713403_20210920_8c34ae28c6a_nopdkgcid_linux-amd64-ubuntu.deb …
Unpacking driveworks (4.0.0) over (4.0.0) …
Setting up driveworks (4.0.0) …
Processing triggers for libc-bin (2.27-3ubuntu1.4) …
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libcublas.so.10 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libnvrtc.so.10.2 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libcufft.so.10 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libnvrtc-builtins.so.10.2 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libcublasLt.so.10 is not a symbolic link
Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other
Target Operating System
Linux
QNX
other
Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other
SDK Manager Version
1.7.1.8928
other
Host Machine Version
native Ubuntu 18.04
other
Dear @mike.devine,
It seems DW 4.0 is already installed. Could you confirm if you have /usr/local/driveworks-4.0/
folder?
It was partially installed, by the install that showed the error above. I uninstalled, checked for the directory, and then re-installed, and the error still occurs:
devinem@Ubuntu4DriveWorks:~/Desktop/driveworks_installs/driveworks_4.0_x86/host_linux$ sudo dpkg --purge driveworks
(Reading database ... 297906 files and directories currently installed.)
Removing driveworks (4.0.0) ...
Purging configuration files for driveworks (4.0.0) ...
devinem@Ubuntu4DriveWorks:~/Desktop/driveworks_installs/driveworks_4.0_x86/host_linux$ ls /usr/local/drive*
ls: cannot access '/usr/local/drive*': No such file or directory
devinem@Ubuntu4DriveWorks:~/Desktop/driveworks_installs/driveworks_4.0_x86/host_linux$ sudo dpkg -i driveworks-v4.0.0_28713403_20210920_8c34ae28c6a_nopdkgcid_linux-amd64-ubuntu.deb
Selecting previously unselected package driveworks.
(Reading database ... 297491 files and directories currently installed.)
Preparing to unpack driveworks-v4.0.0_28713403_20210920_8c34ae28c6a_nopdkgcid_linux-amd64-ubuntu.deb ...
Unpacking driveworks (4.0.0) ...
Setting up driveworks (4.0.0) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libcublas.so.10 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libnvrtc.so.10.2 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libcufft.so.10 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libnvrtc-builtins.so.10.2 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libcublasLt.so.10 is not a symbolic link
devinem@Ubuntu4DriveWorks:~/Desktop/driveworks_installs/driveworks_4.0_x86/host_linux$ ls /usr/local/drive*
/usr/local/driveworks:
cmake data include lib targets tools
/usr/local/driveworks-4.0:
cmake data include lib targets tools
Also, here is the output of the commands you suggested I try:
devinem@Ubuntu4DriveWorks:~/Desktop/driveworks_installs/driveworks_4.0_x86/host_linux$ sudo apt-get update; sleep 0.5; sudo apt-get -y --allow-downgrades --allow-downgrades install libcudnn7=7.6* libcudnn7-dev=7.6* libcudnn7-samples=7.6
Get:1 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local InRelease
Ign:1 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local InRelease
Get:2 file:/var/cuda-repo-ubuntu1804-10-2-local InRelease
Ign:2 file:/var/cuda-repo-ubuntu1804-10-2-local InRelease
Get:3 file:/var/cudnn-local-repo-cross-aarch64-d5l-7.6.6.415 InRelease
Ign:3 file:/var/cudnn-local-repo-cross-aarch64-d5l-7.6.6.415 InRelease
Get:4 file:/var/cudnn-local-repo-ubuntu1804-7.6.6.415 InRelease
Ign:4 file:/var/cudnn-local-repo-ubuntu1804-7.6.6.415 InRelease
Get:5 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt6.5.0.7-d5l-cross-ga-20210409 InRelease
Ign:5 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt6.5.0.7-d5l-cross-ga-20210409 InRelease
Get:6 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt6.5.0.7-x86-host-ga-20210409 InRelease
Ign:6 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt6.5.0.7-x86-host-ga-20210409 InRelease
Get:7 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release [563 B]
Get:8 file:/var/cuda-repo-ubuntu1804-10-2-local Release [564 B]
Get:9 file:/var/cudnn-local-repo-cross-aarch64-d5l-7.6.6.415 Release [563 B]
Get:10 file:/var/cudnn-local-repo-ubuntu1804-7.6.6.415 Release [564 B]
Get:11 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt6.5.0.7-d5l-cross-ga-20210409 Release [569 B]
Get:7 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release [563 B]
Get:12 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt6.5.0.7-x86-host-ga-20210409 Release [569 B]
Get:8 file:/var/cuda-repo-ubuntu1804-10-2-local Release [564 B]
Get:9 file:/var/cudnn-local-repo-cross-aarch64-d5l-7.6.6.415 Release [563 B]
Get:10 file:/var/cudnn-local-repo-ubuntu1804-7.6.6.415 Release [564 B]
Get:11 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt6.5.0.7-d5l-cross-ga-20210409 Release [569 B]
Get:12 file:/var/nv-tensorrt-repo-ubuntu1804-cuda10.2-trt6.5.0.7-x86-host-ga-20210409 Release [569 B]
Hit:15 http://packages.microsoft.com/repos/code stable InRelease
Get:16 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Hit:17 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:19 https://packages.microsoft.com/repos/ms-teams stable InRelease
Hit:20 https://download.docker.com/linux/ubuntu bionic InRelease
Get:22 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:24 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:26 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic InRelease
Get:28 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:21 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Get:29 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,094 B]
Get:30 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [55.2 kB]
Get:31 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [297 kB]
Get:32 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [59.4 kB]
Get:33 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:34 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [301 kB]
Get:35 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:36 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [9,268 B]
Fetched 981 kB in 2s (490 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '7.6' for 'libcudnn7-samples' was not found
Dear @mike.devine,
Could you run all files from ~/Desktop/driveworks_installs/driveworks_4.0_x86/host_linux/
on your host?
devinem@Ubuntu4DriveWorks:~/Desktop/driveworks_installs/driveworks_4.0_x86/host_linux$ sudo dpkg -i driveworks_samples-v4.0.0_28713403_20210920_8c34ae28c6a_nopdkgcid_linux-amd64-ubuntu.deb
Selecting previously unselected package driveworks_samples.
(Reading database ... 297907 files and directories currently installed.)
Preparing to unpack driveworks_samples-v4.0.0_28713403_20210920_8c34ae28c6a_nopdkgcid_linux-amd64-ubuntu.deb ...
Unpacking driveworks_samples (4.0.0) ...
dpkg: dependency problems prevent configuration of driveworks_samples:
driveworks_samples depends on driveworks_data (= 4.0.0); however:
Package driveworks_data is not installed.
dpkg: error processing package driveworks_samples (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
driveworks_samples
Also, here is the failed install of driveworks that I did prior to trying the above command:
devinem@Ubuntu4DriveWorks:~/Desktop/driveworks_installs/driveworks_4.0_x86/host_linux$ sudo dpkg -i driveworks-v4.0.0_28713403_20210920_8c34ae28c6a_nopdkgcid_linux-amd64-ubuntu.deb
[sudo] password for devinem:
Selecting previously unselected package driveworks.
(Reading database ... 297491 files and directories currently installed.)
Preparing to unpack driveworks-v4.0.0_28713403_20210920_8c34ae28c6a_nopdkgcid_linux-amd64-ubuntu.deb ...
Unpacking driveworks (4.0.0) ...
Setting up driveworks (4.0.0) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libcublas.so.10 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libnvrtc.so.10.2 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libcufft.so.10 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libnvrtc-builtins.so.10.2 is not a symbolic link
/sbin/ldconfig.real: /usr/local/driveworks-4.0/targets/x86_64-Linux/lib/libcublasLt.so.10 is not a symbolic link
Dear @mike.devine,
It seems you have installed the driveworks data debian file before running driveworks samples debian. Could you please check https://docs.nvidia.com/drive/driveworks-4.0/dwx_installation_x86.html
@SimaRamaKrishnaNV, you asked me to run the sample file deb and post the results, so that is what I did. Apparently you subsequently edited the reply to say run all of them? This is what your request originally said before it was edited:
“Could you run ~/Desktop/driveworks_installs/driveworks_4.0_x86/host_linux/driveworks_samples-v4.0.0_28713403_20210920_8c34ae28c6a_nopdkgcid_linux-amd64-ubuntu.deb
on your host?”
In any case, the first of the deb files fails to install because it had in it copies of whole shared library files where there instead should be symlinks. This causes ldconfig to fail which causes the install to fail.
I was able to fix this manually by editing the deb file to have symlinks instead. I will try the rest of the steps shortly.
Dear @mike.devine,
I saw the same warnings as in More errors installing DRIVEWORKS - #8 by mike.devine when install driveworks debian. You can ignore it.
Please follow the instructions in https://docs.nvidia.com/drive/driveworks-4.0/dwx_installation_x86.html and let me know if you notice any issue.