Ffmpeg error in linux

27,159

Basically, to find the file:

sudo find / -name libavdevice.so.52

For example, you've found this file in the /usr/local/lib. Next include that library into your library path. Add this to your /etc/ld.so.conf:

/usr/local/lib

And finally after modifying this file run this:

sudo ldconfig

Reference: Ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file

Share:
27,159
NaijaProgrammer
Author by

NaijaProgrammer

I am a full-stack developer with experience and expertise in both client-side and server-side development tools, technologies and languages. Areas of competence include: HTML-5 CSS Javascript PHP XML MySQL

Updated on August 21, 2022

Comments

  • NaijaProgrammer
    NaijaProgrammer almost 2 years

    Any help on how I can solve this error: ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory