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 by bill on July 15, 2009 - 11:18 am
Thanks for that mate! worked like a dream.
#2 by Buzz on September 3, 2009 - 8:45 am
Also to note, installing ffmpeg with libx264: http://www.saiweb.co.uk/linux/ffmpeg-install-with-libx264-h264
Installing FFMPEG on RHEL4 http://www.saiweb.co.uk/linux/ffmpeg-installation-on-rhel-4
#3 by teto0o on December 27, 2009 - 4:41 am
thnx alot
#4 by lovedecay on September 3, 2013 - 3:16 pm
Thanks worked on ubuntu 12.04.
#5 by Jesus on July 24, 2014 - 2:58 am
Thanks! Worked for me as well.