On Mar 27, 7:03 am, Michel <[EMAIL PROTECTED]> wrote:
> "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
You should run "cd SAGE_INSTALL_DIR; source local/bin/sage-env"
Also: [snip]/sage-2.10.4/local/bin/sage-sage -singular does not work.
Call it via the sage executable.
> Singular-3-0-4: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found
> (required by l ibstdc++.so.6)
What compiler do you use? Is that the default compiler shipped with
the system and if not is it in $PATH and $LD_LIBRARY_PATH.
Also: run "ldd local/bin/Singular-3-0-4" and post the output here
please.
> 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.
Via LD_LIBRARY_PATH, but that is not set permanently unless you source
local/bin/sage-env from $SAGE_ROOT.
> Michel
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---