--- vlc-0.8.6h/configure.ac.orig 2008-06-09 19:28:51.000000000 +0200 +++ vlc-0.8.6h/configure.ac 2008-06-09 20:00:19.000000000 +0200 @@ -2775,7 +2775,7 @@ then VLC_SAVE_FLAGS CFLAGS="${CFLAGS} ${CFLAGS_ffmpeg}" - LDFLAGS="${LDFLAGS} ${LDFLAGS_ffmpeg}" + LDFLAGS="${LDFLAGS} ${LDFLAGS_ffmpeg} -lpthread" AC_CHECK_LIB(avcodec, img_resample, , [AC_MSG_ERROR([Your FFmpeg library doesn't have the needed img_resample() function. You should rebuild it with software scaler disabled])], -lavutil) VLC_RESTORE_FLAGS