I am trying to install Jetson inference in my tensorbook, I am getting error with command make -j$(nproc)

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
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
The following NEW packages will be installed:
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 ( …
^[[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:
E: Sub-process /usr/bin/dpkg returned an error code (1)

I looked at the TensorBook and really like that! However, you reached the part of the forums which are for Jetsons. However, if you are using your TensorBook with a Jetson, then the install of the correct software would be via JetPack/SDK Manager in most cases (this would find a compatible release). Are you running Linux on the TensorBook to develop for an NVIDIA Jetson?

If you are, then see:
(pick the most recent one if you can, or one that matches the release on your Jetson)

If not, then you should not install with the above. For non-Jetson use I’m thinking you would want to post in one of the sub-forums of this, although someone here might know the answer to your question for installation to your laptop TensorBook:

1 Like

Those laptops do look really nice. jetson-inference is only supported on Jetson though, hence you are seeing that cannot find -lnvbuf_utils error (which is a Jetson-specific library)

DeepStream SDK can be run on both x86 and Jetson if you prefer to use the same code across platforms - or deep learning frameworks like PyTorch/TensorFlow/ect can run on both.

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