ubuntu - libavcodec.so.56 not found when running software compiled with opencv -
i upgraded computer ubuntu 16.04. every time try run software compiled opencv, following error:
libavcodec.so.56: cannot open shared object file: no such file or directory
looking around /usr/lib/x86_64-linux-gnu/
, can find libavcodec.so
, not libavcodec.so.56
.
when trying run sudo apt-get install libavcodec56
, get:
package 'libavcodec56' has no installation candidate
i've scoured internet in search of answer, not find @ point. solving annoying problem appreciated.
just install ffmpeg typing:
sudo apt-get install -y ffmpeg
and files:
- /usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so
- /usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56
copy/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56
/usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so.56
Comments
Post a Comment