[FFmpeg-devel] configure with liba52 on 64 bit
Fri Sep 21 17:32:45 CEST 2007
Ismail D?nmez wrote:
> On Friday 21 September 2007 18:18:50 foyleman wrote:
>> I am unable to configure ffmpeg on a CentOS 64bit machine. I need to
>> configure with liba52 but I am getting errors.
>> I did some searching and cannot find a solution.. or at least one that I
>> understand. I know some linux and I can get around, but perhaps not
>> enough since I am lost here.
>> My ffmpeg configure line:
>> ./configure --enable-shared --enable-libxvid --enable-libvorbis
>> --enable-libogg --enable-libmp3lame --enable-gpl --enable-libfaad
>> --enable-libfaac --enable-liba52 --enable-pp
>> My error:
>> /usr/bin/ld: /usr/local/lib/liba52.a(parse.o): relocation R_X86_64_32S
>> against `a local symbol' can not be used when making a shared object;
>> recompile with -fPIC
>> /usr/local/lib/liba52.a: could not read symbols: Bad value
> Static libs on x86-64 *have to* be compiled with -fPIC.
Only if you want to link them into a shared lib. If you never intend
to do that, compiling them without -fPIC is preferred as it produces
more efficient code.
Oh, and this is the wrong mailing list for such questions.
mans at mansr.com
More information about the ffmpeg-devel