> ## Content Index
> Fetch the complete content index at: https://yinguobing.com/blog/llms.txt
> Use this file to discover other available public pages before exploring further.

# OpenCV 3.2找不到动态库
- URL: https://yinguobing.com/blog/opencv-3-2-error-loading-shared-libraries/
- Published: 2017-01-17T05:13:21.000Z
- Updated: 2022-05-29T07:55:46.000Z
- Description: 编译OpenCV 3.2之后，运行程序提示错误：No such file or directory.
- Author: 尹国冰
- Tags: OpenCV

编译OpenCV 3.2之后，运行程序提示错误：

```
error while loading shared libraries: libopencv_highgui.so.3.2: cannot open shared object file: No such file or directory

```

错误提示的意思是找不到共享库文件。这时候运行：

```
sudo ldconfig

```

问题解决。