While gold is part of the problem it is not completely its fault in my opinion.
gold I think default to "as-needed" sage/rings/model. complex_double.pyx 
doesn't directly
call cblas so gold doesn't see it as needed and drop it. The problem here is 
that libgsl
itself is not linked properly for it to work - regardless of gold.
If you check the readelf -d output for libgsl there is no mention of 
libcblas/libgslcblas
in the nedded section. So the libgsl doesn't even know where to find its 
undefined symbols.
I guess gold may be made to work here if we can convince it to include libcblas 
in the
needed section of complex_double.so. But I think we should fix the somewhat 
fishy
stuff in libgsl, sure it is legal and all in that you can link with the libclas 
of your choice
and gold may even do the right thing for an executable where all symbols have 
to be
resolved but a .so? Well undefined symbols is legal for a library.....

So I would like to know what libgsl looks like before Jean-Pierre's fix for 
cygwin.

Francois
________________________________________
From: sage-devel@googlegroups.com [sage-devel@googlegroups.com] on behalf of 
Volker Braun [vbraun.n...@gmail.com]
Sent: Saturday, 8 February 2014 6:32
To: sage-devel@googlegroups.com
Subject: Re: [sage-devel] Error installing package conway_polynomials-0.5.p0 on 
Ubuntu 12.04 - Sage 6.1.1

So that seems to be the answer, OP uses the gold linker instead of the standard 
gnu ld. Which apparently can't link Sage. To fix this, uninstall binutils-gold. 
Gold is geared towards C++ so I'm not too surprised that it fails. Its also 
relatively new, especially for OP's linux version.



On Friday, February 7, 2014 5:24:58 PM UTC, Steven Trogdon wrote:
It would seem that there's a problem with Binutils. I basically have the same 
OS and gcc but with different hardware. However I have

$ ld -v
GNU ld (GNU Binutils for Ubuntu) 2.22

and the linking is good. I had some other hiccups, mainly with cvxopt, when 
building 6.1.1 but eventually the build completed. I'm not sure why there is a 
difference in Binutils?

On Friday, February 7, 2014 10:13:34 AM UTC-6, sho...@ualberta.ca wrote:
Well I did build it successfully once. It was on 12.04 Ubuntu that had been 
used a lot - many softwares built on it. I then upgraded to 13.10, had many 
problems, and then decided to reinstall (fresh) 12.04LTS over the top (even 
reformatted) of 13.10. So in essence, my Ubuntu is pretty new and may not have 
a lot of "stuff", even though it does have all the prerequisites.

I've actually tried to build 5.13, 6.0, and 6.1.1 and none have worked. It 
always complains about "conway_polynomail".... I have the log files still too 
if that can help.

I'll try the GIT build today and see what happens.

I've also wondered about the  PPA build of sagemath, though I don't like the 
idea of not having a self-contained directory/tree - maybe though it would 
install something in my /usr/bin or /usr/lib, etc. that I'm missing.....

Thanks for the suggestion.

Brett

On Friday, February 7, 2014 7:40:08 AM UTC-7, Niles Johnson wrote:
On Thursday, February 6, 2014 8:39:14 PM UTC-7, François wrote:
I am stumped. I will have to think it over for a bit. Output of "ld -v" please.

While François is thinking, I'll make some other (more rudimentary) suggestions.

* Have you successfully built older versions of sage?  What is the latest one 
that builds?

* Are there any other packages failing to build? (My guess is no.)

* Could you try checking out and building from the git repository (this 
shouldn't make a difference, but who knows!?)
[if you checkout the git repository, you can easily roll back to older versions 
with, e.g., git checkout 6.0]

* In particular, maybe try building the develop branch, just to see whether you 
get the same or different problems

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

This email may be confidential and subject to legal privilege, it may
not reflect the views of the University of Canterbury, and it is not
guaranteed to be virus free. If you are not an intended recipient,
please notify the sender immediately and erase all copies of the message
and any attachments.

Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more
information.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to