#9665: Make lcalc accessible as a library on OS X
------------------------+---------------------------------------------------
   Reporter:  mpatel    |       Owner:  tbd       
       Type:  defect    |      Status:  new       
   Priority:  blocker   |   Milestone:  sage-4.5.2
  Component:  packages  |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------
 Reported by Georg Weber on [http://groups.google.com/group/sage-
 release/browse_thread/thread/fa2facb36603675a/a19253d8c2f48d2f#a19253d8c2f48d2f
 sage-release]:
 {{{
 ...
 building 'sage.libs.lcalc.lcalc_Lfunction' extension
 ...
 g++ -L/Users/Shared/sage/sage-4.5.2.rc0/local/lib -bundle -undefined
 dynamic_lookup build/temp.macosx-10.4-i386-2.6/sage/libs/lcalc/
 lcalc_Lfunction.o -L/Users/Shared/sage/sage-4.5.2.rc0/local//lib -
 lcsage -lm -lntl -lmpfr -lgmp -lgmpxx -lLfunction -lstdc++ -lstdc++ -
 lntl -o build/lib.macosx-10.4-i386-2.6/sage/libs/lcalc/
 lcalc_Lfunction.so
 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
 prototypes -I/Users/Shared/sage/sage-4.5.2.rc0/local//include -I/Users/
 Shared/sage/sage-4.5.2.rc0/local//include/csage -I/Users/Shared/sage/
 sage-4.5.2.rc0/devel//sage/sage/ext -I/Users/Shared/sage/
 sage-4.5.2.rc0/local/include/python2.6 -c sage/libs/pari/gen.c -o
 build/temp.macosx-10.4-i386-2.6/sage/libs/pari/gen.o -w
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't locate file for: -
 lLfunction
 collect2: ld returned 1 exit status
 error: command 'g++' failed with exit status 1
 sage: There was an error installing modified sage library code.
 ...

 It seems that in the Sage library code, the usage of some "Lfunction"
 library from the lcalc package was newly introduced. On my Mac, both
 the (half-built) Sage-4.5.2 and the older (fuly working) Sage-4.5.1
 have under local/lib/ some library "libLfunction.so". But on a Mac
 under OS X (OS X 10.4 at least), this would need to be
 "libLfunction.dylib" to be usable ...
 }}}

 [http://groups.google.com/group/sage-
 release/browse_thread/thread/fa2facb36603675a/99b55c2958a197cb#99b55c2958a197cb
 Georg continues]:
 {{{
 for the "Lfunction" issue, the relevant tickets are #5396 resp. #4793.
 It seems to be as I thought --- the lcalc spkg (#4793) never built a
 correct dynamic (".dylib") library on OS X. But this was not relevant
 or did break anything, until the interface between Sage and lcalc was
 changed from using pexpect to using this library directly (#5396,
 introduced in Sage-4.5.2.alpha1).
 }}}

 Related: #4793, #5396.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9665>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to