Closed CatspersCoffee closed 4 years ago
Hi all,
having a problem building the project using make from /build directory
OS: Ubuntu 18.04.1 LTS cmake version: 3.10.2
Scanning dependencies of target libShamir [ 11%] Building C object CMakeFiles/libShamir.dir/src/shamir.c.o [ 22%] Building C object CMakeFiles/libShamir.dir/src/strtok.c.o [ 33%] Linking C static library libShamir.a [ 33%] Built target libShamir Scanning dependencies of target shamir [ 44%] Building C object CMakeFiles/shamir.dir/src/main.c.o [ 55%] Building C object CMakeFiles/shamir.dir/src/d_string.c.o [ 66%] Linking C executable shamir /usr/bin/ld: cannot find -lbsd collect2: error: ld returned 1 exit status CMakeFiles/shamir.dir/build.make:121: recipe for target 'shamir' failed make[2]: *** [shamir] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/shamir.dir/all' failed make[1]: *** [CMakeFiles/shamir.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2
Sounds like you need to install libbsd-dev?
libbsd-dev
Hi all,
having a problem building the project using make from /build directory
OS: Ubuntu 18.04.1 LTS cmake version: 3.10.2