#13731: Fix libsingular memory management
---------------------------+------------------------------------------------
Reporter: nbruin | Owner: rlm
Type: defect | Status: new
Priority: major | Milestone: sage-5.6
Component: memleak | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
---------------------------+------------------------------------------------
Comment (by SimonKing):
I am trying to build Sage-5.5.rc0 with the malloc singular spkg for linux.
Platform: `openSuse` 12.1, on Intel Core2 Duo.
What I tried: Untar the sage tarball, replace the usual Singular spkg with
yours, and type make.
Singular fails to build, because of
{{{
g++ -O2 -I. -I.. -I/home/simon/SAGE/debug/sage-5.5.rc0/local
-I/home/simon/SAGE/debug/sage-5.5.rc0/local/include
-I/home/simon/SAGE/debug/sage-5.5.rc0/local/include
-I/home/simon/SAGE/debug/sage-5.5.rc0/local/include -I/usr/local/include
-DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H -DESINGULAR -DPROTO -o
ESingular emacs.cc ../kernel/fegetopt.o \
-rdynamic -L/home/simon/SAGE/debug/sage-5.5.rc0/local/kernel -L../kernel
-lkernel -L/home/simon/SAGE/debug/sage-5.5.rc0/local/lib
-L/home/simon/SAGE/debug/sage-5.5.rc0/local/lib -L/usr/local/lib -ldl
-lm -lsingfac -lsingcf -lntl -lgmp -lreadline -lncurses -lnsl -lm -lnsl
-lbsd -lomalloc -lpthread ../kernel/mmalloc.o
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -lbsd
}}}
Could it be that it is a problem with `SAGE_ROOT/local/lib` versus
`SAGE_ROOT/local/lib64`? That used sometimes to be a problem with
`openSuse`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13731#comment:8>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.