ffmpeg4.2 在ubuntu16.04下编译安装动态库出现错误: libavcodec/mqc.o: relocation r_x86_64_32 against `.rodata' can not be used when making a shared obje
解决方法:在配置的时候添加CFLAGS="-O3 -fPIC" ,如下命令:
CFLAGS="-O3 -fPIC" ./configure --enable-shared --prefix=/usr/
在 make && make install