#6456: Upgrade cvxopt in sage from 0.9 to 1.1.3
-------------------------------------------------+--------------------------
   Reporter:  was                                |       Owner:  mabshoff       
                        
       Type:  defect                             |      Status:  needs_info     
                        
   Priority:  major                              |   Milestone:  sage-4.6.1     
                        
  Component:  packages                           |    Keywords:                 
                        
     Author:  Harald Schilly, Dmitrii Pasechnik  |    Upstream:  Completely 
fixed; Fix reported upstream
   Reviewer:                                     |      Merged:                 
                        
Work_issues:  licence                            |  
-------------------------------------------------+--------------------------

Comment(by dimpase):

 Replying to [comment:128 kcrisman]:
 > By the way, of
 > {{{
 > -lm -llapack -lgsl -lgslcblas -lblas -lcblas -latlas -lgsl
 > }}}
 if they should all be in `$SAGE_LOCAL/lib`, then I have
 {{{
  liblapack.a
  libgsl.a
  libgsl.dylib
  libgsl.la
  libgslcblas.a
  libgslcblas.dylib
  libgslcblas.la
  libblas.a
  }}}

 sure, I have the same.

 > Maybe that helps.  Where does libcblas come from in other systems?  It's
 not a Sage package, and the BLAS spkg-install only installs libblas.a, as
 far as I can tell.

 On my machine I have, surely coming from Xcode (part of Accelerate
 framework, formerly altVec...):
 {{{
 $ ls -l /usr/lib/*cblas*
 lrwxr-xr-x 1 root wheel 112 Apr 12  1976 /usr/lib/libcblas.dylib ->
 
../..//System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libBLAS.dylib
 $ ls -l /usr/lib/*atlas*
 lrwxr-xr-x 1 root wheel 112 Apr 12  1976 /usr/lib/libatlas.dylib ->
 
../..//System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libBLAS.dylib
 $ ls -l /usr/lib/*lapack*
 lrwxr-xr-x 1 root wheel 114 Apr 12  1976 /usr/lib/libclapack.dylib ->
 
../..//System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libLAPACK.dylib
 lrwxr-xr-x 1 root wheel 114 Apr 12  1976 /usr/lib/libf77lapack.dylib ->
 
../..//System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libLAPACK.dylib
 lrwxr-xr-x 1 root wheel 114 Apr 12  1976 /usr/lib/liblapack.dylib ->
 
../..//System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libLAPACK.dylib
 }}}
 These are platform-optimised libraries, that should be used on MacOSX.
 So your linker trouble seems to be a sign of Xcode not being properly
 installed, or that your Xcode is much older than mine, and the directories
 layout has changed.

 Do you have anything like this in /usr/lib ?

 But anyway, one just have to link against the native libraries.
 What does your gcc -v say? In my case:
 {{{
 $ gcc -v
 Using built-in specs.
 Target: powerpc-apple-darwin9
 Configured with: /var/tmp/gcc_42/gcc_42-5577~1/src/configure --disable-
 checking --prefix=/usr --mandir=/usr/share/man --enable-
 languages=c,objc,c++,obj-c++ --program-transform-
 name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-
 darwin9 --with-gxx-include-dir=/usr/include/c++/4.0.0 --program-prefix=
 --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
 Thread model: posix
 gcc version 4.2.1 (Apple Inc. build 5577)
 }}}
 So you see with-slibdir=/usr/lib there, so this must mean that it picks up
 these libcblas, etc, there.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6456#comment:130>
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