DSO here means Dynamic Shared Object; since the error message says it’s missing from the command line, I guess you have to add it to the command line.
That is, try adding -lpthread
to your command line.
More Related Contents:
- usr/bin/ld: cannot find -l
- Compiling multithread code with g++
- C++ standard library and Boehm garbage collector
- C++ templates, undefined reference
- Linking g++ 4.8 to libstdc++
- “undefined reference to” using ‘g++’ to compile a C++ program
- Install gcc on linux with no root privilege
- “to_string” isn’t a member of “std”?
- What’s the difference between 'gcc -g' and 'gcc -g3'?
- How to allocate memory dynamically for class using new in C++?
- Linux: Executing child process with piped stdin/stdout
- How do you find what version of libstdc++ library is installed on your linux machine?
- Getting mangled name from demangled name
- Undefined symbols “vtable for …” and “typeinfo for…”?
- C++ compiling on Windows and Linux: ifdef switch [duplicate]
- Why do I need to use typedef typename in g++ but not VS?
- How to check what shared libraries are loaded at run time for a given process?
- How to use visual studio code to compile multi-cpp file?
- C++: Safe to use longjmp and setjmp?
- How to get a stack trace for C++ using gcc with line number information?
- Child process receives parent’s SIGINT
- How to name a thread in Linux? [duplicate]
- Is optimisation level -O3 dangerous in g++?
- Difference between regex_match and regex_search?
- Why does sqrt() work fine on an int variable if it is not defined for an int?
- Why should I initialize member variables in the order they’re declared in?
- std::this_thread::sleep_for() and GCC
- Default libraries linked in by gcc?
- Undefined reference to process(std::__cxx11::basic_string … ) when compiling affdex linux sample applications
- Why do I see 400x outlier timings when calling clock_gettime repeatedly?