linux下更高级的查找
1、在安装opencv4.5时,出现了错误:libopencv_core.so.4.5.0: undefined reference to `cblas_zgemm',想使用locate查看下cblas_zgemm文件,没有locate命令
2、安装locate工具:pacman -S mlocate,还是无法使用
3、更新数据库:updatedb
4、locate cblas结果:
1 /home/nication/WORKM/selfProgram/anaconda3/lib/python3.8/site-packages/torch/include/caffe2/utils/cblas.h 2 /home/nication/WORKM/selfProgram/anaconda3/pkgs/pytorch-1.6.0-py3.8_cuda10.2.89_cudnn7.6.5_0/lib/python3.8/site-packages/torch/include/caffe2/utils/cblas.h 3 /usr/include/cblas.h 4 /usr/include/cblas_f77.h 5 /usr/include/cblas_mangling.h 6 /usr/include/cblas_test.h 7 /usr/include/gsl/gsl_cblas.h 8 /usr/lib/libcblas.so 9 /usr/lib/libcblas.so.3 10 /usr/lib/libcblas.so.3.9.0 11 /usr/lib/libgslcblas.so 12 /usr/lib/libgslcblas.so.0 13 /usr/lib/libgslcblas.so.0.0.0 14 /usr/lib/cmake/cblas-3.9.0 15 /usr/lib/cmake/cblas-3.9.0/cblas-config-version.cmake 16 /usr/lib/cmake/cblas-3.9.0/cblas-config.cmake 17 /usr/lib/cmake/cblas-3.9.0/cblas-targets-release.cmake 18 /usr/lib/cmake/cblas-3.9.0/cblas-targets.cmake 19 /usr/lib/pkgconfig/cblas.pc
大功告成,OK,继续解决opencv4的源码编译问题
人就像是被蒙着眼推磨的驴子,生活就像一条鞭子;当鞭子抽到你背上时,你就只能一直往前走,虽然连你也不知道要走到什么时候为止,便一直这么坚持着。