> On   04/12/10 - 16:51:27, François Bissey wrote:
> > I think it is a sage-env issue from sage-script which will make
> > things fun.
> > 
> > I will try a fix shortly, testing take a while on this little
> > computer but it
> > will be live on the overlay if you want to test.
> > 
> > Francois
> 
> The install of Sage still fails. The sage-singular install leaves an
> odd symlink for LIB under
> /opt/sage/local. LIB points to the portage work directory. Here this is
> usually
> 
> LIB -> lib
> lib -> lib64

Good spotting, I will look into that later. In sage they make it to point to
lib(64) which is funny in that it actually originally point to share/singular.
I will make the link relative rather than absolute a little bit later.

> 
> However, this is not the issue. If I fix the symlinks the install of
> sage still fails. I get
> 
> cd /var/tmp/portage/sci-mathematics/sage-4.3.5/image//opt/bin/; ./sage
> -c
> Setting permissions of DOT_SAGE directory so only you can read and
> write it.
> Traceback (most recent call last):
>    File
> "/var/tmp/portage/sci-mathematics/sage-4.3.5/image/opt/sage/local/bin/sage-
> eval", line 4, in <module>
>      from sage.all import *
>    File
> "/var/tmp/portage/sci-mathematics/sage-4.3.5/image/opt/sage/local/lib64/pyt
> hon/site-packages/sage/all.py", line 72, in <module>
>      from sage.rings.all      import *
>    File
> "/var/tmp/portage/sci-mathematics/sage-4.3.5/image/opt/sage/local/lib64/pyt
> hon/site-packages/sage/rings/all.py", line 94, in <module>
>      from qqbar import (AlgebraicRealField, is_AlgebraicRealField, AA,
>    File
> "/var/tmp/portage/sci-mathematics/sage-4.3.5/image/opt/sage/local/lib64/pyt
> hon/site-packages/sage/rings/qqbar.py", line 1416, in <module>
>      QQxy = QQ['x', 'y']
>    File "ring.pyx", line 205, in sage.rings.ring.Ring.__getitem__
> (sage/rings/ring.c:2711)
>    File
> "/var/tmp/portage/sci-mathematics/sage-4.3.5/image/opt/sage/local/lib64/pyt
> hon/site-packages/sage/rings/polynomial/polynomial_ring_constructor.py",
> line 355, in PolynomialRing
>      R = _multi_variate(base_ring, names, n, sparse, order)
>    File
> "/var/tmp/portage/sci-mathematics/sage-4.3.5/image/opt/sage/local/lib64/pyt
> hon/site-packages/sage/rings/polynomial/polynomial_ring_constructor.py",
> line 453, in _multi_variate
>      from sage.rings.polynomial.multi_polynomial_libsingular import
> MPolynomialRing_libsingular
> ImportError: libsingular.so: cannot open shared object file: No such
> file or directory
> 
Yes my fault, and I was away for a bit while the test was underway. I set 
LIBRARY_PATH instead of LD_LIBRARY_PATH. Hopefully _that_ will work.

Francois

Reply via email to