référence indéfinie au symbole 'pthread_key_delete @@ GLIBC_2.2.5

Je suis en train de faire un fichier dans Ubuntu et quand je fais, je reçois cette erreur:

/usr/bin/ld: ../../gtest-1.7.0/libgtest.a(gtest-all.cc.o): undefined reference to symbol     'pthread_key_delete@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [src/tests/run_tests] Error 1
make[1]: *** [src/tests/CMakeFiles/run_tests.dir/all] Error 2
make: *** [all] Error 2

J'ai vu quelqu'un mentionner à aller dans le Makefile et en lui ajoutant un-L /lib64 -l pthread " pour la variable LDFLAGS mais comment faites-vous cela? Totalement nouveau pour linux ici =X

source d'informationauteur imolital