add /usr/local/lib
to your library path /etc/ld.so.conf
after that, execute "ldconfig"
recompile asterisk.
Found this ffmpeg mailing list: avcodec_init()
isn't used nowadays. Instead avcodec_register_all()
is used. It seems you may need to downgrade ffmpeg.