[FFmpeg-devel] linker error

Nicolas George george at nsup.org
Thu Oct 20 09:48:54 EEST 2022


Helmut K. C. Tessarek (12022-10-20):
> I compile the static ffmpeg binaries for macOS and I have noticed just now
> the following error:
> 
> duplicate symbol '_read_file' in:
>     fftools/ffmpeg_opt.o
>     /Users/Shared/ffmpeg/sw/lib/libass.a(ass.o)
> ld: 1 duplicate symbol for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation
> )
> make: *** [ffmpeg_g] Error 1
> 
> I believe it has something to do with commit
> 18d6c07267994398f99b2241f577f8e7118af099
> fftools/ffmpeg_opt: move opening output files into a new file

Possibly. But between a library and a final program, the one who is at
fault when a non-namespaced symbol conflicts is the library.

So please report this to libass before considering a mitigation in
FFmpeg.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list