1
votes

I'm trying to compile qt ffmpeg wrapper simple encoding/decoding example under linux QTFFmpegWrapper source

# Set list of required FFmpeg libraries .pro file
LIBS += -lswresample \
    -lavcodec \
    -lavformat \
    -lavutil \
    -lswscale \
    -lz

Compiling failed due to error :-1: error: /home/mher/Qt5.4.0/5.4/gcc_64/lib/libavformat.a(avisynth.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /lib/x86_64-linux-gnu/libdl.so.2:-1: error: error adding symbols: DSO missing from command line

I found similar situation DSO missing from command line here. Should I set run settings? Or need to change .pro file?

1

1 Answers

2
votes

Try to add the line: LIBS += -ldl in your pro file.