question
./ffmpeg: error while loading shared libraries: libmp3lame.so.0: cannot open shared object file: No such file or directory
solution
You probably want to add /usr/local/lib to /etc/ld.so.conf and run
ldconfig. Then the libmp3lame.so.0 file should be correctly detected.
this will fix your error! IT worked for me
error while loading shared libraries: libmp3lame.so.0: cannot open shared object file