我试图运行LibSourcey来使用Webrtc Streaming Server。Libsourcey缺失-fPIC编译错误
事情是,我似乎无法使它的工作。 我努力在我的Ubuntu 16.04上制作项目(在cmake文件中使用正则表达式),但现在修复了它。 我居然得了的问题是在编译时将共享对象错误:
usr/bin/ld: /home/kimmie/ffmpeg_build/lib/libswresample.a(options.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object;
recompile with -fPIC
/home/kimmie/ffmpeg_build/lib/libswresample.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
av/CMakeFiles/av.dir/build.make:783: recipe for target 'av/libscy_av.so.1.0.2' failed
任何帮助将是非常赞赏,因为我不知道现在该做什么。