When I compile the pytorch from source, I got the following errors.
/home/xxx/anaconda3/compiler_compat/ld: cannot find -lpthread
/home/xxx/anaconda3/compiler_compat/ld: cannot find -lc
My environment is like this,
The gcc version is gcc version 5.2.0.
I have tried numerous ways, but still cannot solve this problem. Could anybody help me?