Ask Your Question
0

glibc 2.17 dependency

asked 2013-06-19 11:07:54 -0500

Ackbach gravatar image

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 ... (more)

edit retag flag offensive close merge delete

Comments

2

You downloaded sage-5.9-linux-32bit-ubuntu_13.04-i686-Linux which strongly suggests that it's for 32 bit Ubuntu on 13.04. Linux distros are annoyingly fickle when it comes to these things. Do you think you could use the 64 bit http://mirror.clibre.uqam.ca/sage/linux/64bit/sage-5.9-linux-64bit-ubuntu_12.04.2_lts-x86_64-Linux.tar.lzma ?

kcrisman gravatar imagekcrisman ( 2013-06-19 11:30:23 -0500 )edit

No, because I don't have a 64-bit system. Is there a Sage 5.9 for ubuntu 12.04 32-bit?

Ackbach gravatar imageAckbach ( 2013-06-19 11:46:33 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-06-19 13:12:41 -0500

tmonteil gravatar image

updated 2013-06-19 13:17:31 -0500

You can see this answer, which explains where your problem is coming from. Unfortunately, Sage does not provides binaries for 32-bit Ubuntu LTS (see also this sage-devel thread)

Hence, the remaining options seem to be:

edit flag offensive delete link more

Comments

Thanks for that info. I've opted for #3, because I ran into a severe package problem with wine, and this seems the path of least resistance. I might compile sage anyway, for speed.

Ackbach gravatar imageAckbach ( 2013-06-20 04:53:14 -0500 )edit

Installed Xubuntu 13.04, and then compiled Sage from source. It took a very long time - in fact I let it go overnight. Hopefully, it'll be worth it in increased speed of use. Thanks again for your solution! I tried plotting, and it works!

Ackbach gravatar imageAckbach ( 2013-06-21 05:11:41 -0500 )edit

Since you have Xubuntu 13.04, you can now use the binary without the need to recompile.

tmonteil gravatar imagetmonteil ( 2013-06-24 00:16:23 -0500 )edit

@tmonteil: True, although I was hoping for a speedup due to the compilation process being more machine-specific.

Ackbach gravatar imageAckbach ( 2013-06-25 11:47:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-06-19 11:07:54 -0500

Seen: 1,038 times

Last updated: Jun 19 '13