Linking issues with opencv_perf_ocl - Cannot find 'dlopen' and 'dlsym' in libopencv_ocl.so
Hi,
I am new to this and I was cross compiling openCV in Ubuntu after following "Installing OpenCV on ARM board.doc". After 71% completion, I get the following.
...
[ 71%] Built target pch_Generate_opencv_perf_ocl
Linking CXX executable ../../bin/opencv_perf_ocl
../../lib/libopencv_ocl.so: undefined reference to dlopen'
../../lib/libopencv_ocl.so: undefined reference to
dlsym'
collect2: error: ld returned 1 exit status
make[2]: * [bin/opencv_perf_ocl] Error 1
make[1]: [modules/ocl/CMakeFiles/opencv_perf_ocl.dir/all] Error 2
make: ** [all] Error 2
What could be going wrong here?