>>576
dlerror()関数で詳細が出るとのことで見てみたら
undefined symbol: pthread_create
と出たのでMakefileに-lpthread付け足したらエラー出なくなりました