Undefined reference to symbol 'pthread_once@@GLIBC_2.2.5'
I am trying to install this program and everything was going good, 97% done, when I get this error:
Code:
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: ../common/pb/libcockatrice_protocol.a(admin_commands.pb.cc.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2.5' Edit: I managed to fix it with a big of a brute force solution. I found the file where the flags for the cmake command were and inserted "-L/lib64 -lpthread" after all the C flag lists. |
All times are GMT -5. The time now is 09:06 PM. |