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/
/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/’ failed

would appreciate any supports


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


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