Skip to content

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

Advertisement

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

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

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