audio-video-dev-tutorial icon indicating copy to clipboard operation
audio-video-dev-tutorial copied to clipboard

mac编译错误

Open yanganggithub opened this issue 11 months ago • 1 comments

ld: building exports trie: duplicate symbol '_av_ac3_parse_header' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [libavdevice/libavdevice.61.dylib] Error 1 make: *** Waiting for unfinished jobs....

yanganggithub avatar Dec 24 '24 03:12 yanganggithub

在执行./configure --prefix=/usr/local/ffmpeg --enable-shared --disable-static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libx264 --enable-libx265之前,添加这个 export LDFLAGS="-Wl,-ld_classic" 可以解决

yanganggithub avatar Dec 24 '24 03:12 yanganggithub