It's that one undefined symbol pthread_getspecific that's causing the problem. It's not apparent to me just why that problem arises. Nor do I know what needs to be done to fix it.
Can you build any extensions (modules containing XS code) at all ? Can you, eg, successfully build Math::FFT from source ?