[FFmpeg-user] Compiling source on RHEL 5.4

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Nov 21 01:43:46 CET 2012

Reindl Harald <h.reindl <at> thelounge.net> writes:

> [harry <at> srv-rhsoft:~]$ ldd /usr/bin/ffmpeg

[very long list]

Otoh, below is a default compilation of ffmpeg 
that passes all tests:
$ ldd ffmpeg
        linux-vdso.so.1 (0x00007fff7e3ff000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb762cc6000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fb7629cf000)
        libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007fb7627c0000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fb7625aa000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fb7623a2000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fb761ffd000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb762ee2000)

You can still drop pthreads, rt, z and bz if you don't 
need multithreading and some less common codecs:
$ ldd ffmpeg
        linux-vdso.so.1 (0x00007fffd69ff000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fdae902e000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fdae8c89000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdae9325000)

And could somebody explain to me how the kernel version 
has any impact on FFmpeg compilation?
I suspect all you need on an ancient system is a decent 
compiler (that may not be trivial) including assembler, 
and yasm and make (two small source packages that 
quickly compile static binaries that you can copy into 

Carl Eugen

More information about the ffmpeg-user mailing list