[Ffmpeg-devel] Shared libraries on AMD64

Alexandru Asofie alex
Fri Apr 27 10:28:06 CEST 2007

Hi everyone,

I try to compile ffmpeg with the following options:
./configure  --enable-libmp3lame --enable-libogg --enable-libfaad  
--enable-libfaac --enable-xvid --enable-amr-nb --enable-gpl  
--enable-shared --disable-strip --enable-liba52 --enable-liba52bin  
--cc=gcc4 --extra-cflags="-fPIC"

When I run make I get the following error:

/usr/bin/ld: mathematics.o: relocation R_X86_64_32 against `a local  
symbol' can not be used when making a shared object; recompile with  
mathematics.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libavutil.so.49] Error 1
make[1]: Leaving directory `/tmp/ffmpeg/libavutil'
make: *** [lib] Error 2

Do you have any idea why it says to recompile with -fPIC since I already added
--extra-cflags="-fPIC" ?


More information about the ffmpeg-devel mailing list