Hello,
I had a locally installed NTL compiled from sources with default options. While being compiled from sources, Sage failed to link with libntl.a with a few complaints like
[spkg-install] /usr/bin/ld: ///usr/local/lib/libntl.a(ZZX.o): relocation R_X86_64_TPOFF32 against `_ZZN3NTL8PlainSqrEPNS_2ZZEPKS0_lE36_ntl_hidden_variable_tls_local_ptr_t' can not be used when making a shared object; recompile with -fPIC
I had to go to NTL, manually add -fPIC compiler option to its makefile, recompile and reinstall libntl to let Sage installation proceed. However, I think this issue should have an automated solution - e.g., if Sage is not happy with the installed libntl.a, why cannot it compile its own version in the way it likes (and ignore the installed one)?
Do I miss anything here?
Regards,
Max