sage 8.9beta4 ntl

53 views
Skip to first unread message

Han Frederic

unread,
Aug 2, 2019, 3:10:27 PM8/2/19
to sage-devel
Hello,
I have something strange (fedora 29, amd64)
I have cloned sage 8.9beta4
and make it. All seems functionnal but I realised that ntl is not built. This looks strange because giac is built and ntl is listed in the file:

build/pkgs/giac/dependencies

Moreover I have ntl and other giac deps from fedora and now the system ntl is used.

(sage-sh) fred@localhost:sage$ ldd local/lib/libgiac.so
    linux
-vdso.so.1 (0x00007ffc4ffc2000)
    libntl
.so.38 => /lib64/libntl.so.38 (0x00007f312e038000)
    libpari
-gmp.so.6 => /home/fred-dev/sage/develop/sage/local/lib/libpari-gmp.so.6 (0x00007f312d791000)
    libgsl
.so.23 => /home/fred-dev/sage/develop/sage/local/lib/libgsl.so.23 (0x00007f312d50e000)

I don't think it happened on sage 8.8.

Can you reproduce this?

Dima Pasechnik

unread,
Aug 2, 2019, 3:42:38 PM8/2/19
to sage-devel
Well, this is how it is meant to be!
See https://trac.sagemath.org/ticket/27330

E.g. if you have a compatible NTL installed, it will be used instead
of a vendored version.




>
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/d118a3dd-5a54-474b-8d2e-3af9149441aa%40googlegroups.com.

Dima Pasechnik

unread,
Aug 2, 2019, 3:55:14 PM8/2/19
to sage-devel
On Fri, Aug 2, 2019 at 10:42 PM Dima Pasechnik <dim...@gmail.com> wrote:
>
> On Fri, Aug 2, 2019 at 10:10 PM Han Frederic <h...@math.jussieu.fr> wrote:
> >
> > Hello,
> > I have something strange (fedora 29, amd64)
> > I have cloned sage 8.9beta4
> > and make it. All seems functionnal but I realised that ntl is not built. This looks strange because giac is built and ntl is listed in the file:
> >
> > build/pkgs/giac/dependencies
> >
> > Moreover I have ntl and other giac deps from fedora and now the system ntl is used.
> >
> > (sage-sh) fred@localhost:sage$ ldd local/lib/libgiac.so
> > linux-vdso.so.1 (0x00007ffc4ffc2000)
> > libntl.so.38 => /lib64/libntl.so.38 (0x00007f312e038000)
> > libpari-gmp.so.6 => /home/fred-dev/sage/develop/sage/local/lib/libpari-gmp.so.6 (0x00007f312d791000)
> > libgsl.so.23 => /home/fred-dev/sage/develop/sage/local/lib/libgsl.so.23 (0x00007f312d50e000)
> >
> > I don't think it happened on sage 8.8.

in fact, https://trac.sagemath.org/ticket/27822 was already in 8.8
and system NTL is already usable there. But you need to rebuild from scratch
or, at least, expicitly uninstall Sage's NTL (and rebuild) to use the
system NTL.

Han Frederic

unread,
Aug 3, 2019, 6:06:26 AM8/3/19
to sage-devel
Thank you!
> > To unsubscribe from this group and stop receiving emails from it, send an email to sage-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages