IT WORKED!!! I just heard from the systems administrator, and the problem was, indeed, the path to the gcc libraries. Everything works so far.
Thank you very much for your patience and prompt answer. -Adrian. On Apr 2, 1:58 pm, "Dr. David Kirkby" <david.kir...@onetel.net> wrote: > adrian wrote: > > 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: > > A few thoughts on this. > > 1) What version of 'tar' is first in your path? If it is the Sun version of > tar, > it is incapable of extracting the tar file correctly. > > If so, try this, which will use a GNU version of tar. > > $ /usr/sfw/bin/gtar xfz sage-4.3.4-Solaris-sun4u-SunOS.tar.gz > > 2) Can you try > > $ rm -rf $HOME/.sage > > which will clear out any debris which might be left from previous failed > > When you try to run sage for the first time, you should get a message about > rebuilding parts of sage, > > The Sage install tree may have moved. > Regenerating Python.pyo and .pyc files that hardcode the install PATH > (please wait at most a few minutes)... > Do not interrupt this. > > and I believe it calls 'ranlib', 'ar' or similar. If /usr/ccs/bin is not in > the > path, it will not find them which might result in a corrupted installation. > > If these are not found, it would be sensible that we report an error and exit, > but I don't think that happens. > > 3) If that does not work, can you try the binary from this URL - use p7zip to > decompress it, which is standard with recent releases of Solaris 10, though a > patch (only available with a contract), is needed for older updates of > Solaris 10. > > http://boxen.math.washington.edu/home/kirkby/Solaris-binaries/sage-4.... > > It was built a Sun Blade 1000 and has been used on a Sun T5240 too. > > Dave -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org