[FFmpeg-user] duplicate symbol _strsplit on ld

桃源老師 xanadu6291 at dream.jp
Tue Apr 19 02:11:43 CEST 2016


Hello, 

I'm not sure this issue is ffmpeg itself or not.  But let me try to describe it...

I have tried to build ffmpeg, ffprobe, ffplay with the following config line:

$ ./configure --prefix=${TARGET} --pkg-config-flags=--static --disable-ffserver --enable-gpl --enable-version3 --enable-libschroedinger --enable-librtmp

Configuring is OK.  But last part of making, I get the following error:

LD	ffmpeg_g
LD	ffplay_g
LD	ffprobe_g
duplicate symbol _strsplit in:
    /Volumes/ffmpeg_compile/lib/librtmp.a(rtmp.o)
    /Volumes/ffmpeg_compile/lib/liborc-0.4.a(liborc_0.4_la-orcutils.o)
duplicate symbol _strsplit in:
    /Volumes/ffmpeg_compile/lib/librtmp.a(rtmp.o)
    /Volumes/ffmpeg_compile/lib/liborc-0.4.a(liborc_0.4_la-orcutils.o)
ld: 1 duplicate symbol for architecture x86_64
duplicate symbol _strsplit in:
    /Volumes/ffmpeg_compile/lib/librtmp.a(rtmp.o)
    /Volumes/ffmpeg_compile/lib/liborc-0.4.a(liborc_0.4_la-orcutils.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ffplay_g] Error 1
make: *** Waiting for unfinished jobs....
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ffprobe_g] Error 1
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


This error occurs with combination of libschroedinger and librtmp.  But with either one, the error does not occur.

I'm not sure the responsibility of this issue.  ffmpeg, rtmp, liborc, or libschroedinger.  So please teach me if there is something I should do.


Best Regards,


// Miya aka. TougenRoushi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3577 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160419/0594cf28/attachment.bin>


More information about the ffmpeg-user mailing list