Cannot find -laarch64-linux-gnu while installing opencv

i am installing opencv on my jetson (Jetpack 4.6) by this script Compiling OpenCV on Jetpack 5

and encounter this error

[ 25%] Linking CXX shared library …/…/lib/libopencv_cudev.so
/usr/bin/ld: cannot find -laarch64-linux-gnu
collect2: error: ld returned 1 exit status
modules/cudev/CMakeFiles/opencv_cudev.dir/build.make:95: recipe for target ‘lib/libopencv_cudev.so.4.4.0’ failed

would appreciate any supports

Hi,

The script is for JetPack 5 user.
For TX2, please use the following script instead:

Thanks.

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