已解决:libopencv_core.so.4.5 cannot open shared object file
- find the location:
sudo find / -name "libopencv_core.so.4.5"
- create and add file "/etc/ld.so.conf.d/opencv.conf"
/usr/local/lib
-
sudo ldconfig
reference:
https://stackoverflow.com/questions/12335848/opencv-program-compile-error-libopencv-core-so-2-4-cannot-open-shared-object-f
https://linux.die.net/man/8/ldconfig