OSError: libopencv_world.so.4.4: cannot open shared object file: No such file or directoryOSError:
移植opencv程序到另一台ubuntu20.04 机器上,遇到如下问题:
libopencv_world.so.4.4: cannot open shared object file: No such file or directory
solution 解决方法参考
https://github.com/pjreddie/darknet/issues/1959
I have solved the same error with ubuntu 18.04 .
first,
vim ~/.bashrc
then, add the following in the last line .
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
at last,
source ~/.bashrc
cause 原因分析及解决思路
出现该问题的原因是新机器上没有该包。
于是下载同样的包,放在可检索位置;
或者放在指定位置,然后配置库目录。