Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#10877 closed defect (invalid)

singular build error (sage 4.6.2)

Reported by: aapitzsch Owned by: GeorgSWeber
Priority: critical Milestone: sage-duplicate/invalid/wontfix
Component: build Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

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.

Change History (2)

comment:1 Changed 10 years ago by aapitzsch

  • Resolution set to invalid
  • Status changed from new to closed

It seems there has been another reason for this error because it works when I tried it again. So I mark this as invalid.

comment:2 Changed 10 years ago by mvngu

  • Milestone changed from sage-4.7 to sage-duplicate/invalid/wontfix
Note: See TracTickets for help on using tickets.