Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

glibc 2.17 dependency

Running Xubuntu 12.04 on an HP Compaq nc8430. 2 GB RAM. I installed Sage 5.9. I can get into the notebook interface and do some algebra and calculus. However, when I try to plot something, I get errors. Here's the traceback:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_2.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -- coding: utf-8 --\n" + _support_.preparse_worksheet_cell(base64.b64decode("Y2lyY2xlKCgwLDApLCAxLCByZ2Jjb2xvcj0oMSwxLDApKQ=="),globals())+"\n"); execfile(os.path.abspath("___code___.py")) File "", line 1, in <module> File "/tmp/tmp1iswRL/___code___.py", line 3, in <module> exec compile(u'circle((_sage_const_0 ,_sage_const_0 ), _sage_const_1 , rgbcolor=(_sage_const_1 ,_sage_const_1 ,_sage_const_0 )) File "", line 1, in <module> File "sage_object.pyx", line 154, in sage.structure.sage_object.SageObject.__repr__ (sage/structure/sage_object.c:1897)
File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 825, in _repr_ self.show() File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/sage/misc/decorators.py", line 456, in wrapper return func(args, kwds) File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 1793, in show self.save(kwds) File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/sage/misc/decorators.py", line 456, in wrapper return func(args, kwds) File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 2668, in save figure = self.matplotlib(options) File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/sage/plot/graphics.py", line 2170, in matplotlib from matplotlib.figure import Figure File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/matplotlib/__init__.py", line 133, in <module> from matplotlib.rcsetup import (defaultParams, File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/matplotlib/rcsetup.py", line 19, in <module> from matplotlib.colors import is_color_like File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/matplotlib/colors.py", line 52, in <module> import numpy as np File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/numpy/__init__.py", line 136, in <module> import add_newdocs File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in <module> from numpy.lib import add_newdoc File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 13, in <module> from polynomial import * File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 17, in <module> from numpy.linalg import eigvals, lstsq File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 48, in <module> from linalg import * File "/opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 23, in <module> from numpy.linalg import lapack_lite ImportError: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by /opt/sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux/local/lib/libgfortran.so.3)

What's troubling me a bit is that I'm seeing some ubuntu 13.04 stuff in there. That's not what I'm running. Did I install a version of Sage that's not compatible with Xubuntu 12.04? It says it wants glibc 2.17. The installation procedure for that package seems ridiculously complex. I feel that Sage should have installed that package if it needed it.