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.

  1. #1 by bill on July 15, 2009 - 11:18 am

    Thanks for that mate! worked like a dream.

  2. #2 by Buzz on September 3, 2009 - 8:45 am

  3. #3 by teto0o on December 27, 2009 - 4:41 am

    thnx alot

  4. #4 by lovedecay on September 3, 2013 - 3:16 pm

    Thanks worked on ubuntu 12.04.

  5. #5 by Jesus on July 24, 2014 - 2:58 am

    Thanks! Worked for me as well.

(will not be published)