Centos 下 error while loading shared libraries: libopencv_core.so.3.0

error while loading shared libraries: libopencv_core.so.3.0

Check if those libraries are present in your environment variable LD_LIBRARY_PATH.

If not, add the directory containing those libraries to this variable. If the libraries are present in /usr/local/lib,

add the following to your .bashrc

 
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

原文地址:https://www.cnblogs.com/wyuzl/p/7791555.html