dusty-nv / jetson-utils

C++/CUDA/Python multimedia utilities for NVIDIA Jetson

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmake error /usr/bin/ld: cannot find -lnvbuf_utils

kankanjiuzou123 opened this issue · comments

In the process of compiling jetson_utils make install on the jetson orin device, I encountered the error /usr/bin/ld: cannot find -lnvbuf_utils. What is the reason and how to solve it?

When I changed enable_nvmm_default to OFF, the compilation was successful, but I don't know why this happens。

@kankanjiuzou123 do you have libnvbuf_utils.so under /usr/lib/aarch64-linux-gnu/tegra?

@kankanjiuzou123 do you have libnvbuf_utils.so under /usr/lib/aarch64-linux-gnu/tegra?

yes
image

OK, does appear that you have it, and that directory is added to the linker path here:

link_directories(/usr/lib/aarch64-linux-gnu/tegra)

So I'm not sure why it's not finding it... I'm curious, if you build jetson-inference instead (which has jetson-utils as a submodule), does it find it?

OK, does appear that you have it, and that directory is added to the linker path here:

link_directories(/usr/lib/aarch64-linux-gnu/tegra)

So I'm not sure why it's not finding it... I'm curious, if you build jetson-inference instead (which has jetson-utils as a submodule), does it find it?

thank you very much,I will try to compile jetson_inference