compilation problems with ffmpeg and x264 on linux/core2 quad
Hi , I'm trying to get ffmpeg working with x264 support, but I keep getting the following error: /usr/bin/ld: /usr/local/lib/libx264.a(common.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libx264.a: could not read symbols: Bad value collect2: ld returned 1 exit status This problem is occuring on the Core 2 Quad system; it's working perfectly on another Pentium4 system running linux. I have installed x264 before I tried to install ffmpeg, and I ran ffmpeg's configure with the following options: -- enable-gpl --enable-libz264 --enable-shared --enable-pthreads --enable-nonfree Regards, Lim Guorong _________________________________________________________________ Help Splitzo Sally Before It?s Too Late! http://www.thegirlwhosplitinto5.com/
/usr/bin/ld: /usr/local/lib/libx264.a(common.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libx264.a: could not read symbols: Bad value collect2: ld returned 1 exit status
Try adding -fPIC to your CFLAGS. Then make clean and start at configure again. Best, Jesse
participants (2)
-
jnstroik@wisc.edu -
nerd_dweeb@hotmail.com