Tests fail: undefined reference to `NTL::operator<<(std::ostream&, NTL::ZZ const&)'
Closed this issue · 6 comments
yurivict commented
Tests fail: undefined reference to `NTL::operator<<(std::ostream&, NTL::ZZ const&)'
yurivict commented
The library has an unresolved symbol:
$ nm ./work/HEAAN-2.1-39-gb2edd4c/HEAAN/lib/libHEAAN.so | c++filt | grep operator
U NTL::operator<<(std::basic_ostream<char, std::char_traits<char> >&, NTL::ZZ const&)
gamma-2017 commented
Have you compiled and installed NTL properly? NTL is not HEAAN nor part of it, but needed.
yurivict commented
Have you compiled and installed NTL properly?
It is linked with libntl.so but this symbol isn't present there.
gamma-2017 commented
Well, for me it works.
Have you added ntl after heaan or before? Order matters.
yurivict commented
after
yurivict commented
This doesn't happen any more.