Try resetting environment variable GNU_LIBPTHREAD_VERSION export GNU_LIBPTHREAD_VERSION=""
Then check for thread version again. getconf GNU_LIBPTHREAD_VERSION e.g. getconf GNU_LIBPTHREAD_VERSION NPTL 0.61 If this tells you the version of threads is NTPL then this will solve your problem.