I've built lame, xvid and faad under the /home/augusto/fmpeg prefix.
The options to Ffmpeg configure script I've used were these ones:
(by the way, there is no --disable-shared-pp option)
./configure --prefix=/home/augusto/fmpeg --enable-mp3lame --enable-faad --enable-xvid --enable-gpl --disable-ffserver --disable-ffplay --disable-debug --disable-shared --enable-static --extra-cflags="-I/home/augusto/fmpeg/include -fomit-frame-pointer" --extra-ldflags=-L/home/augusto/fmpeg/lib
Then I compiled it on Slack 10.1 (glib 2.3.4) and tried to run on Slack 8.1 (glib 2.2.5). Ffmpeg complains about the glib version and quits:
./ffmpeg_static: /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./ffmpeg_static)
I think what I'm trying to do is explained on this thread, but I having trouble understanding some steps: