And what linker do you use by default? This error is because libstdc++ is not 
explicitly
included in the linking line. It wouldn’t be a problem if g++ was used for 
linking but here
gcc is used.
So it means that libzmq.so is underlinked with regards to libstdc++ or that 
your linker
requires explicit linking (I believe the later is getting more common because a 
default has been changed in ld).

I don’t expect using sage’s gcc to improve the situation if it is a linker 
issue.

François

> On 20/02/2015, at 23:30, Jori Mantysalo <[email protected]> wrote:
> 
> FYI when trying to make Sage[math] 6.5 on Fedora 21 I got
> 
> - - - -
> 
> gcc build/temp.linux-x86_64-2.7/scratch/vers.o 
> -L/home/jm58660/sage-6.5/local/lib -Wl,-R/home/jm58660/sage-6.5/local/lib 
> -lzmq -lrt -o build/temp.linux-x86_64-2.7/scratch/vers
> /home/jm58660/sage-6.5/local/lib/libzmq.so: undefined reference to 
> `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
> collect2: error: ld returned 1 exit status
> 
> error: command 'gcc' failed with exit status 1
> 
> Fatal: Falling back on bundled libzmq, but setup.cfg has explicitly 
> prohibited building the libzmq extension.
> 
> real    0m0.512s
> user    0m0.261s
> sys     0m0.085s
> ************************************************************************
> Error installing package pyzmq-14.3.0
> 
> - - -
> 
> I will continue with SAGE_INSTALL=GCC=yes, but the error message might be of 
> interest to someone.
> 
> -- 
> Jori Mäntysalo


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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to