undefined reference to 'pthread_mutex_trylock'

 -lpthread

原文地址:https://www.cnblogs.com/greencolor/p/2999040.html