nicehash / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
768 stars 583 forks source link

lpthreads #328

Closed Jhngrcke closed 6 years ago

Jhngrcke commented 6 years ago

Hi,

Having issues installing on ubuntu 17.04 as below dump

Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /home/johan/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ae15e/fast" /usr/bin/make -f CMakeFiles/cmTC_ae15e.dir/build.make CMakeFiles/cmTC_ae15e.dir/build make[1]: Entering directory '/home/johan/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ae15e.dir/CheckFunctionExists.c.o /usr/bin/cc -m64 -msse2 -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_ae15e.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c Linking C executable cmTC_ae15e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ae15e.dir/link.txt --verbose=1 /usr/bin/cc -m64 -msse2 -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_ae15e.dir/CheckFunctionExists.c.o -o cmTC_ae15e -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_ae15e.dir/build.make:97: recipe for target 'cmTC_ae15e' failed make[1]: [cmTC_ae15e] Error 1 make[1]: Leaving directory '/home/johan/build/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_ae15e/fast' failed make: [cmTC_ae15e/fast] Error 2

Jhngrcke commented 6 years ago

Error resolved, this was a version issue with boost