"which sage" gives /usr/bin/sage which is the usual script which sets
SAGE_ROOT (/usr/local/share/sage-2.10.4 in this case) and
calls /usr/local/share/sage-2.10.4/local/bin/sage-sage.

Things like
 env SAGE_ROOT=/usr/local/share/sage-2.10.4 /usr/local/share/
sage-2.10.4/local/bin/sage-sage -singular
give the error message reported earlier

Singular-3-0-4: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found
(required by l ibstdc++.so.6)

unless executed from /usr/local/share/sage-2.10.4. Afterwards the
command continues to work in in the same shell, even in another
directory.

How does sage finds it .so files? Because I think that is the problem.

Michel




On Mar 27, 6:11 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Wed, 26 Mar 2008 15:36:14 -0700, Michel <[EMAIL PROTECTED]> wrote:
>
> > I have a fresh sage-2.10.4 install (compiled from source). I have done
> > "make install"
> > and "install_scripts".
>
> > If I do "sage -singular" I get
>
> Is the output of
>
>     which sage
>
> the sage script that is in you SAGE_ROOT directory mentioned below?
>
>
>
> > Singular-3-0-4: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found
> > (required by libstdc++.so.6)
>
> > If I go once to the SAGE_ROOT directory and do the same command there
> > then
> > suddenly it works.....
> > ============================================================
> >                      SINGULAR                             /
> > Development
> >  A Computer Algebra System for Polynomial Computations   /   version
> > 3-0-4
> >                                                        0<
> >      by: G.-M. Greuel, G. Pfister, H. Schoenemann        \   Nov 2007
> > FB Mathematik der Universitaet, D-67653 Kaiserslautern    \
>
> > ============================================================
> > Moreover the command now also works in another directory, IN THE SAME
> > SHELL.
> > In a different shell I get the error message again.
>
> > I think sometimes sage picks up the system wide libgcc_s.so.1 instead
> > of its own copy.
>
> > Any help in resolving this would be appreciated. My system is FC4.
>
> > Michelstein.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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to