On 21 February 2010 08:10, Akshay Pande <[email protected]> wrote:
> Hi,
>
> I recently installed sage (atom) and am running it on a netbook (eeePC
> 900HA) on Ubuntu Hardy. My problem is that whenever I run sage from
> the installed folder I get the following output
>
> ----------------------------------------------------------------------
> | Sage Version 4.3.2, Release Date: 2010-02-06                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call
> last)
>
> /home/akshay/Academics/sage/local/lib/python2.6/site-packages/IPython/
> ipmaker.pyc in force_import(modname)
>     64         reload(sys.modules[modname])
>
> (some part omitted)
>
>  26 from sage.libs.ntl.ntl_ZZ import (
>     27                  ntl_setSeed, \
>     28                  ntl_ZZ as ZZ,
>
> ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not
> found (required by /home/akshay/Academics/sage/local/lib/libgmpxx.so.
> 3)

> Warmly
> Akshay Pande

Did you download a binary for Sage, or did you download the source
code and build Sage from source? I suspect you downloaded the binary,
but I may be wrong.

Your system either lacks libstdc++.so.6, or its in a place which can't
be found. This is the C++ library that is used as part of gcc. I've
proposed before that this be included in the Sage distribution, though
whether it actually is done so I don't know.

What is the output of

$ g++ -v
$ which g++

If g++ is not installed on your system (unlikely but possible), then
you will need to install that.

I'd have a hunt around your system, and see if you can find a file
which at least starts with libstdc++. If you can find libstdc++.so,
then copy it to $SAGE_ROOT/local/lib. I would not advise putting it in
/usr/lib, despite the error message.

Dave

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to