Помогите исправить ffmpeg libx264
root@debian:~/ffmpeg# /sbin/ldconfig -p | grep libx264
libx264.so.120 (libc6) => /usr/local/lib/libx264.so.120
libx264.so (libc6) => /usr/local/lib/libx264.so
root@debian:~/ffmpeg# ffmpeg -i /var/www/video/hobbit.mp4
ffmpeg: error while loading shared libraries: libx264.so.122: cannot open shared object file: No such file or directory
root@debian:~/ffmpeg# ldd $(which ffmpeg)
linux-gate.so.1 => (0xb7851000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7726000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7717000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7712000)
libjack.so.0 => /usr/lib/libjack.so.0 (0xb76f8000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb7630000)
libxvidcore.so.4 => /usr/local/lib/libxvidcore.so.4 (0xb7518000)
libx264.so.122 => not found
libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0xb74d5000)
libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0xb74bb000)
libfaac.so.0 => /usr/lib/libfaac.so.0 (0xb74aa000)
libva.so.1 => /usr/lib/libva.so.1 (0xb744d000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7427000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7416000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7402000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb73e8000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb72a1000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7288000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7284000)
librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb727b000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7274000)
/lib/ld-linux.so.2 (0xb7852000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7271000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb726c000)