Libnvbuf_utils.so

Device:nvidia agx orin 32G

SDK:Jetpack 6.0

Linux: r36.3

Question: Testing the Jetson-Inference project, I encountered the following compilation errors: – Copying examples/imagenet.py → imagenet-camera.py – Copying examples/detectnet.py → detectnet-console.py – Copying examples/detectnet.py → detectnet-camera.py – Copying examples/segnet.py → segnet-console.py – Copying examples/segnet.py → segnet-camera.py – Configuring done – Generating done – Build files have been written to: /home/nvidia/workspace/jetson-inter/jetson-inference/build Consolidate compiler generated dependencies of target jetson-utils [ 1%] Linking CXX shared library …/aarch64/lib/libjetson-utils.so /usr/bin/ld: -lnvbuf_utils: The file or directory is not found. collect2: error: ld returned 1 exit status make[2]: * * * / utils/CMakeFiles/jetson - utils. Dir/build make: 4911: aarch64/lib/libjetson-utils.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:856: utils/CMakeFiles/jetson-utils.dir/all] error 2 make: *** [Makefile:136: all] error 2

I made the following attempts, but I still don’t have the libnvbuf_utils.so file.

Method 1:

sudo apt-get update

sudo apt-get install --reinstall nvidia-l4t-multimedia nvidia-l4t-multimedia-utils

method 2:

nvidia@nvidia-desktop:~/Downloads$ sudo find /usr/lib -name libnvbuf_utils.so nvidia@nvidia-desktop:~/Downloads$ dpkg-deb -c nvidia-l4t-multimedia-utils_36.3.0-20240719161631_arm64.deb | grep libnvbuf_utils nvidia@nvidia-desktop:~/Downloads$ sudo dpkg -i nvidia-l4t-multimedia-utils_36.3.0-20240719161631_arm64.deb | grep libnvbuf_utils

Could you please tell me which installation package contains the libnvbuf_utils.so file, or how to resolve this issue? I don’t want to use the NVIDIA SDK Manager for reinstallation.

Hi,
Here are some suggestions for the common issues:

1. Performance

Please run the below command before benchmarking deep learning use case:

$ sudo nvpmodel -m 0
$ sudo jetson_clocks

2. Installation

Installation guide of deep learning frameworks on Jetson:

3. Tutorial

Startup deep learning tutorial:

4. Report issue

If these suggestions don’t help and you want to report an issue to us, please attach the model, command/step, and the customized app (if any) with us to reproduce locally.

Thanks!

Hi,
Thank you for your reply.

I found a similar issue on the forum and checked the URL: R35.4.1 not found libnvbuf_utils.so - Jetson & Embedded Systems / Jetson AGX Orin - NVIDIA Developer Forums.(https://forums.developer.nvidia.com/t/r35-4-1-not-found-libnvbuf-utils-so/265673)

My solution was to copy /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurface.so to /usr/lib/aarch64-linux-gnu/libnvbuf_utils.so. The issue has been resolved.

Hi,

nvbuf_utils is deprecated from r35.2.1.
Instead of directly copying the library, it’s more recommended to try the below two solution:

  1. Use the branch that is compatible with r36.3.0
    GitHub - dusty-nv/jetson-inference at L4T-R36.3.0

  2. Following the nvbuf_utils to NvUtils Migration Guide to update the implementation.

Thanks.

Understood, thank you very much for your response.

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