[FFmpeg-devel] configure with liba52 on 64 bit

Ismail Dönmez ismail
Fri Sep 21 17:21:37 CEST 2007


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. Complain to your 
distro.

/ismail

-- 
Be the change you want to see in the world.




More information about the ffmpeg-devel mailing list