Opened 13 years ago

Closed 13 years ago

#8560 closed defect (fixed)

magma interface should be changed to use sage-native-execute

Reported by: Kwankyu Lee Owned by: William Stein
Priority: minor Milestone: sage-4.4
Component: interfaces Keywords:
Cc: Merged in: sage-4.4.alpha0
Authors: Kwankyu Lee Reviewers: William Stein
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Latest Magma v2.16-6 fails to load under Sage 4.3.3, with
the following error message:

sage: magma_console()
dyld: Library not loaded: @executable_path/libgmp.3.dylib
  Referenced from: /Applications/Magma?/bin/magma.exe
  Reason: Incompatible library version: magma.exe requires version
9.0.0 or later, but libgmp.3.dylib provides version 8.0.0
/usr/bin/magma: line 72: 16880 Trace/BPT trap          "${ROOT}/bin/
magma.exe" $*

The reason of the failure is that Sage defines the variable DYLD_LIBRARY_PATH when it executes Magma. If you undefine it or define it to point to the right place, then there is no problem

The solution is to use sage-native-execute in Magma interface.

Attachments (1)

trac_8560.patch (1.1 KB) - added by Kwankyu Lee 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by Kwankyu Lee

Attachment: trac_8560.patch added

comment:1 Changed 13 years ago by Kwankyu Lee

Status: newneeds_review

I implemented the simple solution.

comment:2 Changed 13 years ago by Kwankyu Lee

Authors: Kwankyu Lee

comment:3 Changed 13 years ago by William Stein

Status: needs_reviewpositive_review

comment:4 Changed 13 years ago by John Palmieri

Merged in: sage-4.4.alpha0
Resolution: fixed
Reviewers: William Stein
Status: positive_reviewclosed

Merged "trac_8560.patch" in 4.4.alpha0.

Note: See TracTickets for help on using tickets.