SyntaxFix
Write A Post
Hire A Developer
Questions
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.
-lpthread