Error:

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

Advertisement

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.

Share.

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

Exit mobile version