#12220: Updated CBC spkg
----------------------------------+-----------------------------------------
   Reporter:  ncohen              |          Owner:  ncohen       
       Type:  enhancement         |         Status:  needs_work   
   Priority:  major               |      Milestone:  sage-4.8     
  Component:  linear programming  |       Keywords:               
Work_issues:                      |       Upstream:  N/A          
   Reviewer:                      |         Author:  Nathann Cohen
     Merged:                      |   Dependencies:               
----------------------------------+-----------------------------------------

Comment(by john_perry):

 I got somewhere. I can get past the compilation stage if I rearrange the
 declarations so that `OsiClpSolverInterface` is declared before
 `CbcModel`, and also `OsiSolverInterface` is declared before
 `OsiClpSolverInterface`. (I still don't understand why; that seems
 bizarre.)

 However, linking then fails. The last few lines of output are:
 {{{
 g++ -L/Applications/sage_bugs/sage-4.8.alpha0/local/lib -bundle -undefined
 dynamic_lookup
 build/temp.macosx-10.6-i386-2.6/sage/numerical/backends/coin_backend.o
 -L/Applications/sage_bugs/sage-4.8.alpha0/local/lib -lcsage -lcsage
 -lstdc++ -lCbc
 -lCgl -lCbcSolver -lClp -lCoinUtils -lOsiClp -lOsi -lrt -lstdc++ -lntl -o
 build/lib.macosx-10.6-i386-2.6/sage/numerical/backends/coin_backend.so
 ld: library not found for -lrt
 collect2: ld returned 1 exit status
 error: command 'g++' failed with exit status 1
 sage: There was an error installing modified sage library code.
 }}}
 There is, indeed, no `librt` in the directory specified. Is that supposed
 to be linked?

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