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

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/19c57fd3-4767-4b8c-a159-8af88d99613an%40googlegroups.com.

Reply via email to