[FFmpeg-user] decklink seems to be broken down

Anshul Maheshwari anshul.ffmpeg at gmail.com
Thu Dec 4 14:49:16 CET 2014


I am using git pulled just before this mail.

Here is some error that I am getting
LD      ffmpeg_g
/usr/bin/ld: libavdevice/libavdevice.a(decklink_common.o): undefined
reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libdl.so: error
adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1


If I look doing verbose you can see I have already added -ldl in my extra
ldflags
anshulm at tele-uni01:~/work/bmd/test/ffmpeg$ make V=1
gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample
-Llibavutil -Llibpostproc -Llibswscale -Llibswresample -ldl
-Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common
-Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
-o ffmpeg_g cmdutils.o ffmpeg_opt.o ffmpeg_filter.o ffmpeg.o
ffmpeg_vdpau.o -lavdevice -lavfilter -lavformat -lavcodec -lswresample
-lswscale -lavutil -lXv -lX11 -lXext -lstdc++ -lstdc++ -lva -lxcb -lxcb-shm
-lxcb -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lxcb-shape -lxcb -lX11
-ljack -lasound -lSDL -lm -llzma -lz -pthread  -lvdpau
/usr/bin/ld: libavdevice/libavdevice.a(decklink_common.o): undefined
reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libdl.so: error
adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

Its look like an library order issue, if I use library at the end of
coomand, it works.
anshulm at tele-uni01:~/work/bmd/test/ffmpeg$ gcc -Llibavcodec -Llibavdevice
-Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc
-Llibswscale -Llibswresample -ldl  -Wl,--as-needed -Wl,-z,noexecstack
-Wl,--warn-common
-Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
-o ffmpeg_g cmdutils.o ffmpeg_opt.o ffmpeg_filter.o ffmpeg.o
ffmpeg_vdpau.o -lavdevice -lavfilter -lavformat -lavcodec -lswresample
-lswscale -lavutil -lXv -lX11 -lXext -lstdc++ -lstdc++ -lva -lxcb -lxcb-shm
-lxcb -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lxcb-shape -lxcb -lX11
-ljack -lasound -lSDL -lm -llzma -lz -pthread  -lvdpau -ldl


More information about the ffmpeg-user mailing list