I'm running Ubuntu 18.04, and wanted to build Sage 9.0 from source. 
However, I get the errors in eclib, singular and suitesparse packages:

**eclib:**

/usr/bin/ld: _ZN3NTL8ZZ_pInfoE: TLS reference in .libs/polys.o mismatches 
non-TLS reference in 
/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libflint.so
/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libflint.so: error adding 
symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:471: recipe for target 'libec.la' failed
make[5]: *** [libec.la] Error 1
make[5]: Leaving directory 
'/home/myuser/app/sage-9.0/local/var/tmp/sage/build/eclib-20190909/src/libsrc'
Makefile:465: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
'/home/myuser/app/sage-9.0/local/var/tmp/sage/build/eclib-20190909/src'

**singular:**

/usr/bin/ld: _ZN3NTL9ZZ_pEInfoE: TLS reference in .libs/NTLconvert.o 
mismatches non-TLS reference in 
/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libflint.so
/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libflint.so: error adding 
symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:1063: recipe for target 'libfactory.la' failed
make[8]: *** [libfactory.la] Error 1
make[8]: Leaving directory 
'/home/myuser/app/sage-9.0/local/var/tmp/sage/build/singular-4.1.1p2.p0/src/factory'
Makefile:1271: recipe for target 'all-recursive' failed

**suitsparse:**

gcc: error: /usr/local/cuda/lib64/libcublas.so: No such file or directory
Makefile:541: recipe for target 
'/home/myuser/app/sage-9.0/local/var/tmp/sage/build/suitesparse-5.6.0/inst/home/myuser/app/sage-9.0/local/lib/libcholmod.so.3.0.13'
 
failed
make[6]: *** 
[/home/myuser/app/sage-9.0/local/var/tmp/sage/build/suitesparse-5.6.0/inst/home/myuser/app/sage-9.0/local/lib/libcholmod.so.3.0.13]
 
Error 1

I had NTL and FLINT manually installed before. So, I tried to also 
configure with and without the option "--without-system-ntl". However, I 
guess the problem here 
is not NTL but rather FLINT. Any ideas what the actual problem is?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/4ef09f4b-3163-4905-a965-a7e2e52d18f8%40googlegroups.com.

Reply via email to