Sage 4.1.2 : R compilation failure

7 views
Skip to first unread message

bourbabis

unread,
Oct 16, 2009, 10:53:43 AM10/16/09
to sage-devel
Hello Sage team.

So the R package compilation has failed. My current gcc version is
4.3.2 and Sage version 4.1.2
Quote from log :

"/opt/Sage-4.1.2/spkg/build/r-2.9.2/src/bin/exec/R: /opt/Sage-4.1.2/
local/lib/gcc-lib/i686-pc-linux-gnu/4.0.3/libgcc_s.so.1: version
`GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)"

Must I use this specific version of gcc ? Here is the whole logfile :

http://download200.mediafire.com/zyypynxezxpg/tzm40wy5ogj/sage-4.1.2-install.log

Thanks again.

Harald Schilly

unread,
Oct 16, 2009, 11:53:19 AM10/16/09
to sage-devel
Hi, I can confirm this with Ubuntu 9.10 (the beta of the next one)
using gcc 4.4.1.

The line says:

make[6]: Leaving directory `/home/harri/sage/sage-4.1.2/spkg/build/
r-2.9.2/src/src/library/base'
/home/harri/sage/current/spkg/build/r-2.9.2/src/bin/exec/R: /home/
harri/sage/sage-4.1.2/local/lib/gcc-lib/i686-pc-linux-gnu/4.0.3/
libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/
libstdc++.so.6)

H

Pat LeSmithe

unread,
Oct 16, 2009, 12:13:31 PM10/16/09
to sage-...@googlegroups.com

Copying the system's libgcc_s.so.1 (e.g., /lib64/libgcc_s.so.1) to

SAGE_LOCAL/lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/libgcc_s.so

and trying "make" again gets the build to finish, at least, on 64-bit
Fedora 10.

Dr. David Kirkby

unread,
Oct 16, 2009, 12:20:03 PM10/16/09
to sage-...@googlegroups.com

That could probably be solved by adding a linker flag during the build process
(-R and/or -L) or by setting LDFLAGS at runtime. I'd much prefer the former
myself. It should not be necessary to copy the file. (This is from someone who
does not run linux though!)

dave

Reply all
Reply to author
Forward
0 new messages