$ 0 0 UnitTestpp depends on pthread_* symbols but does not link to it. Attached patch tested on openSUSE fixes the issue.