编译出错
来源:1-5 FFmpeg下载,编译与安装

慕慕7514678
2021-03-15
LD libavcodec/libavcodec.so.58
/usr/bin/ld: /usr/local/lib/libx264.a(base.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5’ can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: 最后的链结失败: 错误的值
collect2: error: ld returned 1 exit status
ffbuild/library.mak:102: recipe for target ‘libavcodec/libavcodec.so.58’ failed
make: *** [libavcodec/libavcodec.so.58] Error 1
编译时会出这个错,改了//ffbuild/config.mak的内容没有用 操作系统是linux ubuntu18.04,请问这个要如何修改?
写回答
1回答
-
李超
2021-03-15
你的x264库是自己编译的?还是用命令安装的?
022021-03-24
相似问题