Closed JulianLiedtke closed 5 years ago
I get this too while trying to build the samples. Were you able to find a solution?
As mentioned on my issue https://github.com/cryptobiu/libscapi/issues/52, it works if you add the -no-pie
option to CXX
in samples' makefile
, so it looks like CXX = g++ -std=c++14 $(INC) -O3 -Wall -Wno-unused-function -Wno-unused-variable -no-pie
. Then, e.g., run ./libscapi_example yao 1 Yao/YaoConfig.txt
and ./libscapi_example yao 2 Yao/YaoConfig.txt
in different shells.
@holycleugh thank you for your comment. I updated the makefile
according to your recommendation.
Hi @liorko87, I know it works, but is this the proper way to do it? I know that PIE is a security feature, so it would be nice to have it. Maybe some different options when compiling libscapi?
I think I've managed to fix it: https://github.com/mkskeller/SimpleOT/commit/3b84cdb035805761f82f2bcf14b0cd73a58dbe1a
I get an error while building the examples: