Looks like a link to libpthread is missing too. I would have expected g++ to provide that automatically but the error message suggests otherwise.
Looks like a link to libpthread is missing too. I would have expected g++ to provide that automatically but the error message suggests otherwise.