I think you have compiled ffmpeg from source.

Please try to recompile with --enable-shared