Hallo,
ich habe gerade ffmpeg aus dem Git kompiliert.
Also ganz klassisch ein
Code
./configure --enable-gpl --enable-libxvid --enable-postproc --enable-avfilter --enable-shared --enable-libx264 --enable-nonfree --enable-libfaac --enable-libmp3lame --enable-version3 --enable-postproc --enable-pthreads --enable-x11grab
make
make install
Jetzt fehlen ihm aber Bibliotheken:
Code
~/ffmpeg_git/ffmpeg# ldd ./ffmpeg
linux-vdso.so.1 => (0x00007fff56dfe000)
libavdevice.so.52 => not found
libavfilter.so.1 => not found
libavformat.so.52 => not found
libavcodec.so.52 => not found
libpostproc.so.51 => not found
libswscale.so.0 => not found
libavcore.so.0 => not found
libavutil.so.50 => not found
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f512723c000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f512701f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5126c60000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5127550000)
Alles anzeigen
Ähnliche existieren aber:
Code
find /usr/lib/ | grep -E "libavdevice.so.*|libavfilter.so.*|libavcodec.so.*|libavcore.so.*"
/usr/lib/x86_64-linux-gnu/libavcodec.so.53.61.100
/usr/lib/x86_64-linux-gnu/libavdevice.so.53
/usr/lib/x86_64-linux-gnu/libavfilter.so.2
/usr/lib/x86_64-linux-gnu/libavdevice.so.53.4.100
/usr/lib/x86_64-linux-gnu/libavfilter.so.2.61.100
/usr/lib/x86_64-linux-gnu/libavcodec.so.53
/usr/lib/x86_64-linux-gnu/libavcodec.so
Woher/warum sucht er z.B. nach einer libavcodec.so.52? Wie kommt er darauf? Ich habe ffmpeg doch auf DIESEM System kompiliert. Hätte ./configure da nicht libavcodec.so.53.61.100 oder noch einfacher libavcodec.so (welches ein link auf ersteres ist) finden/wählen sollen?
Wie ist hier das korrekte Vorgehen?
Gruß,
Hendrik