On Dec 24, 9:42 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Dec 24, 2007 1:27 PM, janzo <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi!
> > I'm trying to run a sage notebook in my web server (dreamhost). First
> > I get an error message about not finding libstdc++.so.6 but then I
> > found that file to download (in sage repository) and I have put it in
> > sage_path/local/bin and now I get another error log:
>
> You should build from source.
>
> 1. Get sage-2.9.1.tar fromhttp://sagemath.org/dist/src/
> 2. Read the README.txt
>
> William
>
>
>
>
>
> > <type 'exceptions.ImportError'>: libstdc++.so.6: cannot handle TLS
> > data
> > WARNING: Failure executing code: 'import sage.misc.preparser_ipython;
> > sage.misc.preparser_ipython.magma_colon_equals=True'
> > ---------------------------------------------------------------------------
> > <type 'exceptions.ImportError'>           Traceback (most recent call
> > last)
>
> > /home/.meta/janzo/sage-2.9-debian-32bit-i686-Linux/local/bin/<ipython
> > console> in <module>()
>
> > /home/janzo/sage-2.9-debian-32bit-i686-Linux/local/lib/python2.5/site-
> > packages/sage/misc/misc.py in <module>()
> >     334     return 0
> >     335
> > --> 336 from sage.misc.misc_c import prod
> >     337
> >     338 # alternative name for prod
>
> > <type 'exceptions.ImportError'>: libstdc++.so.6: cannot handle TLS
> > data

As William suggested above the easiest solution on your end is to
build from source.  TLS stands for "thread local storage" and it is my
impression that your kernel has been compiled without NPTL [=Native
Posix Threads Linux]. So depending on your distribution you should
install libstdc++.so, which should be provided by the package that
offers recent g++ versions, i.e. gcc 4.1.x. But I am afraid that since
your kernel is either misconfigured or rather old that that isn't an
option and even if the is a binary package it might still cause
trouble.

Which Linux distribution is dreamhost offering?

Cheers,

Michael

> > <ERROR: name 'sage_prompt' is not defined>
>
> > Could you help me? Thanks.
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to