HanBae / HeVote

HeVote: Electronic Voting System ÐApp using HElib-Based on Ethereum & IPFS.
Apache License 2.0
0 stars 1 forks source link

Helib의 `make check` 오류 발생 #1

Open tkddn204 opened 5 years ago

tkddn204 commented 5 years ago

인스톨 가이드에 따라 설치 중 HElib에서 make check 시 해당 오류가 발생함

/HeVote/app/hec/HElib/src$ make check
HElib requires NTL version 10.0.0 or higher, see http://shoup.net/ntl
Some functionality also needs Armadillo, see http://arma.sourceforge.net/

make check_General
make[1]: Entering directory '/home/soto/HeVote/app/hec/HElib/src'
HElib requires NTL version 10.0.0 or higher, see http://shoup.net/ntl
Some functionality also needs Armadillo, see http://arma.sourceforge.net/

g++ -std=c++11 -pthread -g -O2   -DFFT_ARMA -DFHE_THREADS -DFHE_BOOT_THREADS -fmax-errors=4  -o Test_General_x Test_General.cpp fhe.a   -lntl -lgmp -larmadillo -lm
/usr/bin/ld: _ZN3NTL8GF2EInfoE: TLS reference in fhe.a(NumbTh.o) mismatches non-TLS definition in /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libntl.so section .bss
/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libntl.so: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:184: recipe for target 'Test_General_x' failed
make[1]: *** [Test_General_x] Error 1
make[1]: Leaving directory '/home/soto/HeVote/app/hec/HElib/src'
Makefile:73: recipe for target 'check' failed
make: *** [check] Error 2
9w6nuu commented 4 years ago

저도 동일한 오류가 발생했습니다. 'I have the same problem.'