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

If after compiling FFMPEG on Fedora you get the following error message, it can be fixed quite simply:

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

First go into the following directory

cd /etc/ld.so.conf.d

Create a file a new file with an editor of your choice called : custom-libs.conf

Inside that file add the following line and save:

/usr/local/lib

Next exit your editor and type:

ldconfig

FFMPEG should now run problem free.

5 Comments

  1. Thanks for that mate! worked like a dream.

  2. Thanks worked on ubuntu 12.04.

  3. Thanks! Worked for me as well.

Leave a Comment

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