On Fri, Mar 19, 2010 at 1:29 AM, Kwankyu Lee <ekwan...@gmail.com> wrote:
> Hi,
>
> In Mac OS, 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" $*
>
> I investigated this issue a bit. 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, as you see below.
>
> sage subshell$ magma
> 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: 36373 Trace/BPT trap          "${ROOT}/bin/
> magma.exe" $*
>
> sage subshell$ echo $DYLD_LIBRARY_PATH
> /Users/Kwankyu/Sage/local/lib/R/lib:/Users/Kwankyu/Sage/local/lib/
> openmpi:/Users/Kwankyu/Sage/local/lib/:::/Users/Kwankyu/Sage/local/lib/
> R/lib
>
> sage subshell$ DYLD_LIBRARY_PATH=""
>
> sage subshell$ magma
> Magma V2.16-6     Fri Mar 19 2010 17:22:06 on athena   [Seed =
> 216298470]
> Type ? for help.  Type <Ctrl>-D to quit.
>
> Loading startup file "/Users/Kwankyu/.magmarc"
>
>>
>
>
> I wonder what should be done to solve this problem.
>
>
> Kwankyu
>

magma_console() should be changed to use sage-native-execute.

William

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-devel+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to