We did not compile sage, but used the one that was pre-compiled. The
error is
---------------
ImportError: ld.so.1: python: fatal: relocation error: file /opt/local/
src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib//libntl.so: symbol
_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i:
referenced symbol not found
WARNING: Failure executing code: 'import sage.misc.preparser_ipython;
sage.misc.preparser_ipython.magma_colon_equals=True'
---------------
We did put the paths for some libraries, and tried to make it work.
Interestingly, it can compute 1+2, but not much more than that.
This is what the output says:
[hilbert/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS] ./sage
----------------------------------------------------------------------
| Sage Version 4.3.4, Release Date: 2010-03-19 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
---------------------------------------------------------------------------
ImportError Traceback (most recent call
last)
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/bin/<string> in
<module>()
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib/python2.6/site-
packages/sage/misc/preparser_ipython.py in <module>()
6
###########################################################################
7
----> 8 import sage.misc.interpreter
9
10 import preparser
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib/python2.6/site-
packages/sage/misc/interpreter.py in <module>()
100
101 import os
--> 102 import log
103
104 import remote_file
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib/python2.6/site-
packages/sage/misc/log.py in <module>()
63
64 import interpreter
---> 65 import latex
66 import misc
67
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib/python2.6/site-
packages/sage/misc/latex.py in <module>()
40 import random
41
---> 42 from misc import tmp_dir, graphics_filename
43 import sage_eval
44 from sage.misc.misc import SAGE_DOC
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib/python2.6/site-
packages/sage/misc/misc.py in <module>()
36
37 import operator, os, stat, socket, sys, signal, time, weakref,
resource, math
---> 38 import sage.misc.prandom as random
39
40 from banner import version, banner
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib/python2.6/site-
packages/sage/misc/prandom.py in <module>()
54 # setting seeds should only be done through
sage.misc.randstate .
55
---> 56 from sage.misc.randstate import current_randstate
57
58 def _pyrand():
ImportError: ld.so.1: python: fatal: relocation error: file /opt/local/
src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib//libntl.so: symbol
_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i:
referenced symbol not found
WARNING: Failure executing code: 'import sage.misc.preparser_ipython;
sage.misc.preparser_ipython.magma_colon_equals=True'
---------------------------------------------------------------------------
ImportError Traceback (most recent call
last)
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib/python2.6/site-
packages/IPython/ipmaker.pyc in force_import(modname)
64 reload(sys.modules[modname])
65 else:
---> 66 __import__(modname)
67
68
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/bin/
ipy_profile_sage.py in <module>()
1 import os
2 if 'SAGE_CLEAN' not in os.environ:
----> 3 import sage.misc.misc
4 from sage.misc.interpreter import preparser, _ip
5 preparser(True)
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib/python2.6/site-
packages/sage/misc/misc.py in <module>()
36
37 import operator, os, stat, socket, sys, signal, time, weakref,
resource, math
---> 38 import sage.misc.prandom as random
39
40 from banner import version, banner
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib/python2.6/site-
packages/sage/misc/prandom.py in <module>()
54 # setting seeds should only be done through
sage.misc.randstate .
55
---> 56 from sage.misc.randstate import current_randstate
57
58 def _pyrand():
ImportError: ld.so.1: python: fatal: relocation error: file /opt/local/
src/sage-4.3.4-Solaris-sun4u-SunOS/local/lib//libntl.so: symbol
_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i:
referenced symbol not found
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
<ERROR: name 'sage_prompt' is not defined>1+2
3
<ERROR: name 'sage_prompt' is not defined>pi
---------------------------------------------------------------------------
NameError Traceback (most recent call
last)
/opt/local/src/sage-4.3.4-Solaris-sun4u-SunOS/local/bin/<ipython
console> in <module>()
NameError: name 'pi' is not defined
<ERROR: name 'sage_prompt' is not defined>
[hilbert/export/grad/soto]> gcc -v
Reading specs from /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.6/
specs
Configured with: ../sources/gcc-3.4.6/configure --prefix=/opt/csw/gcc3
--with-local-prefix=/opt/csw --without-gnu-as --with-as=/usr/ccs/bin/
as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --
enable-shared --enable-multilib --enable-nls --with-included-gettext --
with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib --enable-
languages=all
Thread model: posix
gcc version 3.4.6
On Apr 2, 3:42 am, "Dr. David Kirkby" <[email protected]> wrote:
> adrian wrote:
> > Hi, in the math department here at Montana State, we were trying to
> > install sage on Sparc. There are some reports that sage 4.3.4 could
> > be installed on Solaris/Sparc, and we got a binary following the
> > thread
>
> >http://groups.google.com/group/sage-support/browse_thread/thread/62a9...
>
> > Unfortunately, it seems that that binary of sage is not finding the
> > libraries in the places it thinks they are. Is there a way to tell
> > sage where they are?
>
> > Thanks.
> > -Adrian.
>
> Can you be more specific about the libraries and post the error message? You
> probably need LD_LIBRARY_PATH to include the location of the gcc's libraries
> libgcc_s, libgfortran & libstdc++.
>
> Can you also post the output of gcc -v that was used to compile sage?
>
> Sage 4.3.4 has been built several times on Solaris and it passes all the
> selftests. It's been built on both sun4u and sun4v processor families, which
> includes anything capable of running Solaris 10.
>
> dave
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
To unsubscribe, reply using "remove me" as the subject.