anamika@tensorbook:~/jetson-inference/build$ make -j$(nproc)
[ 1%] Linking CXX shared library …/x86_64/lib/libjetson-utils.so
/usr/bin/ld: cannot find -lnvbuf_utils
collect2: error: ld returned 1 exit status
utils/CMakeFiles/jetson-utils.dir/build.make:5077: recipe for target ‘x86_64/lib/libjetson-utils.so’ failed
make[2]: *** [x86_64/lib/libjetson-utils.so] Error 1
CMakeFiles/Makefile2:831: recipe for target ‘utils/CMakeFiles/jetson-utils.dir/all’ failed
make[1]: *** [utils/CMakeFiles/jetson-utils.dir/all] Error 2
Makefile:129: recipe for target ‘all’ failed
make: *** [all] Error 2
anamika@tensorbook:~/jetson-inference/build$ sudo apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
linux-headers-5.4.0-87-generic linux-hwe-5.4-headers-5.4.0-87
linux-image-5.4.0-87-generic linux-modules-5.4.0-87-generic
linux-modules-extra-5.4.0-87-generic
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
libcudnn8-dev
The following NEW packages will be installed:
libcudnn8-dev
0 upgraded, 1 newly installed, 0 to remove and 229 not upgraded.
2 not fully installed or removed.
Need to get 0 B/243 MB of archives.
After this operation, 761 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 348159 files and directories currently installed.)
Preparing to unpack …/libcudnn8-dev_8.3.1.22-1+cuda10.2_amd64.deb …
Unpacking libcudnn8-dev (8.3.1.22-1+cuda10.2) …
^[[Bdpkg: error processing archive /var/cache/apt/archives/libcudnn8-dev_8.3.1.22-1+cuda10.2_amd64.deb (–unpack):
trying to overwrite ‘/usr/lib/x86_64-linux-gnu/libcudnn.so’, which is also in package libcudnn-dev:amd64 7.6.4-0lambda1
Errors were encountered while processing:
/var/cache/apt/archives/libcudnn8-dev_8.3.1.22-1+cuda10.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)