#18198: 4ti2 spkg fails to find gmp
--------------------------------------+-------------------
       Reporter:  mkoeppe             |        Owner:
           Type:  defect              |       Status:  new
       Priority:  major               |    Milestone:
      Component:  packages: optional  |   Resolution:
       Keywords:  4ti2                |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+-------------------

Comment (by dimpase):

 and after `sage -i gmp` followed by `sage -f 4ti2` (i.e. re-installing
 4ti2 with GMP from GMP) I still get 4ti2gmp built, with the following
 weird linkage:
 {{{
 $ ldd local/bin/4ti2gmp
         linux-vdso.so.1 =>  (0x00007fff89be3000)
         lib4ti2gmp.so.0 =>
 /home/dima/software/sage.6.6/sage/local/lib/lib4ti2gmp.so.0
 (0x00007f237844b000)
         libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
 (0x00007f237812c000)
         libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
 (0x00007f2377f15000)
         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2377b50000)
         libglpk.so.36 =>
 /home/dima/software/sage.6.6/sage/local/lib/libglpk.so.36
 (0x00007f2377878000)
         libgmpxx.so.4 =>
 /home/dima/software/sage.6.6/sage/local/lib/libgmpxx.so.4
 (0x00007f2377671000)
         libgmp.so.10 =>
 /home/dima/software/sage.6.6/sage/local/lib/libgmp.so.10
 (0x00007f23773fb000)
         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f23770f5000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f23786d2000)
         libz.so.1 => /home/dima/software/sage.6.6/sage/local/lib/libz.so.1
 (0x00007f2376eda000)
         libgmp.so.16 =>
 /home/dima/software/sage.6.6/sage/local/lib/libgmp.so.16
 (0x00007f2376c66000)
 }}}
 here we see  that it picked up both GMP from GMP, i.e. libmp.so.10 and GMP
 from MPIR, i.e. libgmp.so.16.

 Is this what you are getting, as well?

--
Ticket URL: <http://trac.sagemath.org/ticket/18198#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to