It turns out the singular problem was that /usr/lib/libsingular.so has
to be marked as executable for Singular to load it.

The LinBox problem went away when I upgraded to 3.0.1alpha1.

        -Tim Abbott

On Apr 26, 9:28 pm, mabshoff <[EMAIL PROTECTED]
dortmund.de> wrote:
> On Apr 27, 2:57 am, Timothy G Abbott <[EMAIL PROTECTED]> wrote:
>
> > I seem to have two major problems with my SAGE 3.0alpha6 Debian packages.
> > One seems to be difficulty finding the expanded executable for singular,
> > and the other seems to be a double free somewhere in linbox.
>
> I have an idea what could cause the LinBox problem since the gcc 4.3
> fix caused some of LinBox's internal tests to fail with an odd free at
> exit. But the code in Sage itself valgrinds clean, so I doubt that is
> it. Can you try 3.0.final to see if the problem is still there?
>
> One issue we fixed is that we link the PolyBoRi extension statically
> since linking all three libs dynamically causes double frees. See
> #2822 for details. I fixed that in Sage by deleting all the dynamic
> PolyBoRi libs, but that barely qualifies as a fix, more as a cheap
> workaround. The problem does also no occur in PolyBoRi proper since
> they also just link all the code statically in once big extension. But
> the problem needs to be fixed on our end properly anyway since once we
> have more than one extension using PolyBoRi the "static link fix" will
> not work any more.
>
> > Do either of these sound familiar?
>
> >         -Tim Abbott
>
> > // ***dError: Bug reported: Could not get expanded executable from
> > /usr/lib/sagemath/local/lib/libsingular.so
> >   occured at feResource.cc,434
> >   occured at:
>
> I suspect the above could be the same as #2983 - but I have no lead
> there. I did valgrind it and all other Singular code we ran, but
> nothing popped up. So leads on that one are *really* appreciated ;)
>
> > sage: 1+2
> > 3
>
> <SNIP>
>
> Cheers,
>
> Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to