Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

singular build error (sage 4.6.2) #10877

Closed
a-andre opened this issue Mar 4, 2011 · 1 comment
Closed

singular build error (sage 4.6.2) #10877

a-andre opened this issue Mar 4, 2011 · 1 comment

Comments

@a-andre
Copy link

a-andre commented Mar 4, 2011

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.

Component: build

Issue created by migration from https://trac.sagemath.org/ticket/10877

@a-andre
Copy link
Author

a-andre commented Mar 11, 2011

comment:1

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

@a-andre a-andre closed this as completed Mar 11, 2011
@sagetrac-mvngu sagetrac-mvngu mannequin removed this from the sage-4.7 milestone Mar 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant