mediasoup-broadcaster-demo - build error with ld lib

While trying to build the project on ubnutu, I’m getting this error:
[ 86%] Linking CXX executable broadcaster /usr/bin/ld: /home/miha/webrtc_checkout/src/out/m84/obj/libwebrtc.a(latebindingsymboltable_linux.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/ error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/broadcaster.dir/build.make:141: broadcaster] Error 1 make[2]: Leaving directory '/home/miha/projects/mediasoup-broadcaster-demo/build' make[1]: *** [CMakeFiles/Makefile2:474: CMakeFiles/broadcaster.dir/all] Error 2 make[1]: Leaving directory '/home/miha/projects/mediasoup-broadcaster-demo/build' make: *** [Makefile:149: all] Error 2 make: Leaving directory '/home/miha/projects/mediasoup-broadcaster-demo/build'

Take a look to this post

1 Like

Worked! Amazing, tnx!