make[1]: Entering directory `/usr/local/ffmpeg/libswscale' gcc -shared -Wl,-soname,libswscale.so.0 -L"/usr/local/ffmpeg"/libavutil -rdynamic -export-dynamic -Wl,--warn-common -Wl,--as-needed -Wl,-rpath-link,"/usr/local/ffmpeg"/libavcodec -Wl,-rpath-link,"/usr/local/ffmpeg"/libavformat -Wl,-rpath-link,"/usr/local/ffmpeg"/libavutil -Wl,-Bsymbolic -o libswscale.so.0 rgb2rgb.o swscale.o yuv2rgb.o -lavutil -lz -pthread -lm -la52 -lfaac -lfaad -lgsm -lmp3lame -lm -ltheora -logg -lvorbisenc -lvorbis -logg -lx264 -lm -lxvidcore -ldl -ldl /usr/bin/ld: swscale.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC swscale.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [libswscale.so.0] Error 1 make[1]: Leaving directory `/usr/local/ffmpeg/libswscale' make: *** [lib] Error 2