#10877: singular build error (sage 4.6.2)
-------------------------+--------------------------------------------------
Reporter: aapitzsch | Owner: GeorgSWeber
Type: defect | Status: new
Priority: critical | Milestone: sage-4.7
Component: build | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------+--------------------------------------------------
Singular fails to build on Ubuntu 11.04 (Natty, 32-bit).
This is probably due to the changes in binutils for Natty/Wheezy
(http://wiki.debian.org/ToolChain/DSOLinking)
which prevent the automatic resolution of symbols in indirect dependent
shared libraries.
{{{
/usr/bin/ld: ../kernel/libkernel.a(mod_raw.o): undefined reference to
symbol 'dlopen@@GLIBC_2.1'
/usr/bin/ld: note: 'dlopen@@GLIBC_2.1' is defined in DSO /usr/lib/gcc/i686
-linux-gnu/4.5.2/../../../../lib/libdl.so so try adding it to the linker
command line
/usr/lib/gcc/i686-linux-gnu/4.5.2/../../../../lib/libdl.so: could not read
symbols: Invalid operation
collect2: ld returned 1 exit status
}}}
Adding "-ldl" to LDFLAGS in spkg-install solves the problem.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10877>
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.