[FFmpeg-user] libxvid not found

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Dec 13 11:46:07 CET 2011

carl brown <rawnx2003 <at> yahoo.com> writes:

> Hi I'm trying to cross compile ffmpeg on ubuntu 11.10 but i keep getting
> libxvid not found error any help is greatly appreciated

> check_func xvid_global -lxvidcore
> check_ld cc -lxvidcore
> check_cc
> BEGIN /tmp/ffconf.5A0UeVZV.c
>     1   extern int xvid_global();
>     2   int main(void){ xvid_global(); }
> END /tmp/ffconf.5A0UeVZV.c
> i686-w64-mingw32-gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -I/home/s/BuildFolder/buildFFmpeg
> /external_libs/include -std=c99 -fno-common -fomit-frame-pointer -c -o
> /tmp/ffconf.vl0t6MTi.o /tmp/ffconf.5A0UeVZV.c
> i686-w64-mingw32-gcc -L/home/s/BuildFolder/buildFFmpeg/external_libs/lib
> -Wl,--as-needed -o /tmp/ffconf.yLsjoaus.exe /tmp/ffconf.vl0t6MTi.o -lxvidcore
> -lxavs -lx264 -lvpx -lvorbisenc -lvorbis -logg -lvo-amrwbenc -lvo-aacenc
> -ltheoraenc -ltheoradec -logg -lspeex -lopenjpeg -lmp3lame -lfaac -lm -lpsapi
> -lx264 -lpthread
> /tmp/ffconf.vl0t6MTi.o:ffconf.5A0UeVZV.c:(.text+0xc): undefined reference to
> `_xvid_global'
> collect2: ld returned 1 exit status
> ERROR: libxvid not found

I suspect your xvid version is too old, xvid_global was added in 2004 (?).
Maybe version 1.0 is needed, but that is just a guess.

For build problems, it is usually sufficient to post your configure line and the
tail of config.log (see above)

Carl Eugen

More information about the ffmpeg-user mailing list