duplicate symbol '_dec_init'
I'm getting the following error when compiling/linking libbluray with ffmpeg.
duplicate symbol '_dec_init' in:
fftools/ffmpeg_dec.o
/Users/Shared/ffmpeg/sw/lib/libbluray.a(libbluray_la-dec.o)
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The question now is, is it possible to use a prefix for that function or not export it? Is there a reason why this would be exported?
In the ffmpeg list I got the following answer: libbluray 100% needs to either prefix it, or hid it so it's not exported. It's a library, so it should not be exporting such simple and short unprefix named symbols. Well, it's always interesting to see who is actually supposed to initiate a fix. ;-)
Don't get me wrong, I'm impartial here. I just want to compile ffmpeg with libbluray.
Edited by Helmut K. C. Tessarek