title: Cause for undefined reference to 'typeinfo for std::thread::_State@GLIBCXX_3.4.22'?
body: <p>I'm running Ubuntu 16.04 which comes with gcc 5.4.0, g++ 5.4.0, and glibc 2.23.</p>
  <p>The reason I'm running old versions is so that I can use linuxdeployqt to create an AppImage of my application. Ubuntu 16.04 is the latest Ubuntu version compatible with linuxdeployqt.</p>
  <p>I'm currently just trying to build my application on the system (not using linuxdeployqt) and getting the following error:</p>
  <pre><code>undefined reference to 'typeinfo for std::thread::_State@GLIBCXX_3.4.22'
  </code></pre>
  <p>Other questions like <a href="https://stackoverflow.com/questions/50361134/openpose-linking-error-on-stdthread">OpenPose linking error on std::thread</a> say to simply install the newest version of gcc/g++ to fix the issue, however using an old version is the point in this case.</p>
  <p>g++ 5.4.0 was released in 2015, how could it be incompatible with a C++ 11 feature?</p>