undefined reference to symbol 'dlclose@@GLIBC_2.2.5'

708 views
Skip to first unread message

Xinus Wang

unread,
Apr 26, 2017, 1:41:11 PM4/26/17
to discuss-webrtc
hello everyone,

I got a problem to link with webrtc libs.

I start my Qt project linking webrtc libraries on Ubuntu 16.04 LTS, and I see some error message when compiling my project.

/usr/bin/ld: /opt/webrtc/lib_d/libaudio_device.a(latebindingsymboltable_linux.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
Makefile:354: recipe for target 'XXXX' failed
collect2: error: ld returned 1 exit status
make: *** [XXXX] Error 1
22:24:53: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project XXXX (kit: Desktop Qt 5.8.0 GCC 64bit)
When executing step "Make"

I have added "LIBS += -ldl" to .pro file, but the error still raised.

Can you help me to solve this problem?

Thank you.

BR, Xinus

haiyangwu

unread,
Nov 1, 2017, 11:52:55 AM11/1/17
to discuss-webrtc
got the same problem, fixed ???
Reply all
Reply to author
Forward
0 new messages