I am building a program and am trying to build cmake files. I am using a conda environment where i have installed a new gcc and cmake since the system doesn't have it, but i get this error.
/usr/bin/ld: skipping incompatible /lib/libpthread.so.0 when searching for /lib/libpthread.so.0
/usr/bin/ld: cannot find /lib/libpthread.so.0
/usr/bin/ld: skipping incompatible /usr/lib/libpthread_nonshared.a when searching for/usr/lib/libpthread_nonshared.a
/usr/bin/ld: cannot find /usr/lib/libpthread_nonshared.a
collect2: error: ld returned 1 exit status