Add libpthread.so.0 to std_libs for __x86_64__.
@@ -29,6 +29,7 @@ static const char *std_lib_dirs[] = {"/lib", "/lib32"};
static lib_t std_libs[] = {{"/lib64/libc.so.6", NULL},
{"/lib/x86_64-linux-gnu/libc.so.6", NULL},
{"/lib64/libm.so.6", NULL},
+ {"/usr/lib64/libpthread.so.0", NULL},
{"/lib/x86_64-linux-gnu/libm.so.6", NULL}};
static const char *std_lib_dirs[] = {"/lib64", "/lib/x86_64-linux-gnu"};
#elif (__aarch64__)
