#20646: gsl and linbox underlinked in sage-7.2
----------------------+----------------------------
Reporter: mjo | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.3
Component: build | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------+----------------------------
When building sage-7.2 with `LDFLAGS="--as-needed"`, the result is
underlinked:
{{{
from sage.rings.complex_double import CDF
ImportError: /home/mjo/src/sage.git/local/lib/libgsl.so.19: undefined
symbol: cblas_sdsdot
}}}
That first error can be avoided by adding `-lcblas` to the gsl LDFLAGS,
but a more intelligent approach is probably provided by this patch:
https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-
libs/gsl/files/gsl-2.1-cblas.patch
After that's fixed...
{{{
File "sage/libs/linbox/linbox.pxd", line 7, in init
sage.matrix.matrix_integer_dense
(/home/mjo/src/sage.git/src/build/cythonized/sage/matrix/matrix_integer_dense.c:52635)
ImportError: /home/mjo/src/sage.git/local/lib/liblinboxsage.so.0:
undefined symbol: certSolveRedMP
}}}
That one can be fixed by appending `-liml` to the LDFLAGS for linbox.
Appending it to LIBS should work, too.
More info about `--as-needed`:
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed
--
Ticket URL: <http://trac.sagemath.org/ticket/20646>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.