FFmpeg `ff_pw_9' can not be used when making a shared object; recompile with -fPIC
已经静态编译的FFmpeg,想要编译一个动态库.so,该动态库需要把ffmpeg编进来。首先需要在编译ffmpegconfigure的时候./configure...--enable-pic然后按照这里所说添加-Wl,-Bsymbolic或者在cmake中set(CMAKE_SHARED_LINKER_FLAGS"-Wl,-Bsymbolic")