Sage 4.8 Won't Run on Scientific Linux 6.2

334 views
Skip to first unread message

rvau...@gmail.com

unread,
Apr 10, 2012, 10:29:46 PM4/10/12
to sage-s...@googlegroups.com
When I run sage 4.8 I get this:

======================================================
ImportError: libcsage.so: cannot open shared object file: No such file or directory
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

<ERROR: name 'sage_prompt' is not defined>
======================================================

Suggestions?
What is libcsage?  Where do I find it?

Thanks,
-Richard Vaughn

Benjamin Jones

unread,
Apr 10, 2012, 10:39:23 PM4/10/12
to sage-s...@googlegroups.com
Try moving any old ~/.sage directories out of the way:

> mv ~/.sage ~/.sage.BAK
> sage

Richard Vaughn

unread,
Apr 11, 2012, 2:32:09 PM4/11/12
to sage-s...@googlegroups.com
Benjamin:

Thanks for the suggestion.  Here's what happened.

As root, I moved /root/.sage /root/.sage_save_0411.

Then I ran "./sage" from the 4.8 directory and got:
----------------------------------------------------------------------
| Sage Version 4.8, Release Date: 2012-01-20                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
python: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /root/sage                                                           /sage-4.8-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/libpython2                                                           .6.so.1.0)


So it got past the libcsage problem, but now it's complaining
about GLIBC_2.14.

When I do "rpm -qa | grep glibc", I get:
glibc-2.5-81.el5_8.1.i686
glibc-2.5-81.el5_8.1.x86_64
glibc-devel-2.5-81.el5_8.1.i386
glibc-devel-2.5-81.el5_8.1.x86_64
glibc-common-2.5-81.el5_8.1.x86_64
glibc-headers-2.5-81.el5_8.1.x86_64
glibc-utils-2.5-81.el5_8.1.x86_64

So it's looking for a glibc earlier/older than what I have now?
Or is GLIBC_2.14 a different thing than glibc-2.5-81?

Thanks,
-Richard




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

Volker Braun

unread,
Apr 11, 2012, 2:57:43 PM4/11/12
to sage-s...@googlegroups.com
Scientific linux is based off Redhat enterprise. Fedora is generally newer and more cutting edge. New libraries get tested in Fedora and then make their way to RHEL/SL. In your case, your glibc is too old for the binaries you are using. And we don't have SL/RHEL binaries as far as I know. Your easiest recourse is to compile Sage from source. It is easy and fun, give it a try!

Richard Vaughn

unread,
Apr 11, 2012, 3:31:50 PM4/11/12
to sage-s...@googlegroups.com
Thanks, Volker.
When I run a "make" from within the 4.8 sage directory....

"Installing c_lib

python: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /root/sage/sage-4.8-linux-64bit-fedora_release_16_verne_-x86_64-Linux/local/lib/libpython2.6.so.1.0)
ERROR: There was an error building c_lib.
make: *** [build] Error 1"

???
-Richard


Volker Braun

unread,
Apr 11, 2012, 3:58:21 PM4/11/12
to sage-s...@googlegroups.com
You need to download the Sage sources, not the (Fedora) binary distribution.
To unsubscribe from this group, send email to sage-support+unsubscribe@googlegroups.com

林振华

unread,
Apr 11, 2012, 7:22:17 PM4/11/12
to sage-s...@googlegroups.com
I think you should either compile from source, or you could try the ubuntu version, which works for me. My OS is Fedora12, the versions of the software of this OS are similar to those of Scientific Linux 6.

2012/4/12 Richard Vaughn <rvau...@gmail.com>



--
Zhenhua Lin

Key Laboratory of Ocean Circulation and Waves (KLOCAW)
Institute of Oceanology
Chinese Academy of Sciences
Nanhai Road 7
Qingdao 266071
PR China

Renan Birck Pinheiro

unread,
Apr 11, 2012, 7:27:52 PM4/11/12
to sage-s...@googlegroups.com
2012/4/10 rvau...@gmail.com <rvau...@gmail.com>
When I run sage 4.8 I get this:

======================================================
ImportError: libcsage.so: cannot open shared object file: No such file or directory
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

<ERROR: name 'sage_prompt' is not defined>
======================================================


Just compile Sage from source, I have it successfully running on SL 6.2 perfectly.

Renan



--
Renan Birck Pinheiro - Grupo de Microeletrônica - Engenharia Elétrica - UFSM - Santa Maria, Brazil

http://renanbirck.blogspot.com / skype: renan.ee.ufsm / +55 55 91433210



Reply all
Reply to author
Forward
0 new messages