#9524: Nasty bug with polynomial arithmetic and NTL contexts
-------------------------------------+-------------------------------------
       Reporter:  craigcitro         |        Owner:  AlexGhitza
           Type:  defect             |       Status:  needs_review
       Priority:  critical           |    Milestone:  sage-6.2
      Component:  basic arithmetic   |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jean-Pierre Flori  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jpflori/ticket/9524              |  964979fc886e507447a047efd0c471f3e348119e
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jpflori):

 Adding
 {{{
 import ctypes
 flags = sys.getdlopenflags()
 sys.setdlopenflags(flags | ctypes.RTLD_GLOBAL)
 }}}
 to `src/sage/all.py` solves the second issue (which was the more worrying
 one as far as I'm concerned).
 Not sure how much this can hurt (this is the default only on OS X IIRC,
 see http://docs.python.org/2.5/lib/ctypes-loading-shared-libraries.html.

--
Ticket URL: <http://trac.sagemath.org/ticket/9524#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to