Skip to content

ffmpeg: error while loading shared libraries: libavdevice.so.55: cannot open shared object file: No such file or directory

Category
Linux
Covers
FFmpeg

Error:

I faced following error after installing ffmpeg on our CentOS 6.5 server.

ffmpeg: error while loading shared libraries: libavdevice.so.55: cannot open shared object file: No such file or directory

Solution:

In my case this issue comes, when we don’t not added codecs libraries path in ldconfig. I have fixed it by adding following entries in /etc/ld.so.conf.

# vim /etc/ld.so.conf

include ld.so.conf.d/*.conf
/usr/lib
/usr/local/lib

Save file and run command

# ldconfig

All working now.

Rahul

Rahul Kumar is the founder and chief editor of TecAdmin.net. A Red Hat Certified Engineer (RHCE), he has worked in IT since 2009, with hands-on experience in Linux system administration, DevOps, web hosting, cloud platforms and automation. He started TecAdmin in 2013 to share practical, step-by-step guides, and leads its editorial work with one aim: making technical learning clear and useful for sysadmins, developers and beginners alike.

2 Comments

  1. Thank you Rahul! I was getting this same error on my CentOS server, and your solution has got me back on project!

Leave a Reply

Your email address will not be published. Required fields are marked *


Back to top