On Wed, 18 Nov 2009 08:23:39 Jason Grout wrote:
> I have a fairly fresh installation of 64-bit Ubuntu 9.10, and I'm
> compiling 4.2.1.  I've installed gfortran and build-essential, plus the
> other packages listed in step 1 of the README.  I even set
> SAGE_FORTRAN=/usr/bin/gfortran before building.  I get the following
> error when building R:
> 
> make[6]: Leaving directory
> `/dev/shm/sage-4.2.1/spkg/build/r-2.9.2/src/src/library/base'
> /dev/shm/sage-4.2.1/spkg/build/r-2.9.2/src/bin/exec/R:
> /dev/shm/sage-4.2.1/local/lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/libgcc
> _s.so.1: version `GCC_4.2.0' not found (required by
>  /usr/lib/libstdc++.so.6)
> 
> 
> In the mailing list archives, I see that I can copy a system libgcc_s.so
> into the sage tree and the compile will succeed.  That seems like a
> not-very-friendly fix, though.  Is that the best way to compile 4.2.1 on
> 64-bit Ubuntu 9.10?
> 
That's very strange, the 4.0.3 bit usually comes from a call to g95 since it
is still built against gcc-4.0.3. I would say that your setting of gfortran 
didn't work. Can you tell us what is in the sage_fortran script in 
SAGE_LOCAL/bin?

Francois

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to