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:

  1. /usr/lib/x86_64-linux-gnu/libavcodec-ffmpeg.so
  2. /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

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -