Bug#766134: Bug#768753: coinor-cbc: FTBFS in jessie: ld: cannot find -llapack

Rene Engelhard rene at debian.org
Sun Nov 9 23:01:27 UTC 2014


Hi,

On Sun, Nov 09, 2014 at 08:08:27AM +0100, Lucas Nussbaum wrote:
> > /usr/bin/ld: cannot find -llapack
> > collect2: error: ld returned 1 exit status

I believe this (also for Osi, CCed) is caused by

Changes:                                                                        
 coinutils (2.9.15-2) unstable; urgency=medium                                  
 .                                                                              
   * Team upload.                                                               
   * Add gfortran to B-D for lapack and blas support, thanks syq at d.o            
     (Closes: #766134)        

this change.

Which adds -llapack and -lblas to .pc and thus Cbc and Osi take it -
without having a build-dependency on them:

$ diff -u coinutils.pc /usr/lib/x86_64-linux-gnu/pkgconfig/coinutils.pc 
--- coinutils.pc	2014-11-09 23:54:38.242532632 +0100
+++ /usr/lib/x86_64-linux-gnu/pkgconfig/coinutils.pc	2014-10-30 00:37:58.000000000 +0100
@@ -7,6 +7,6 @@
 Description: COIN-OR Utilities
 URL: https://projects.coin-or.org/CoinUtils
 Version: 2.9.15
-Libs: -L${libdir} -lCoinUtils -lbz2 -lz -lm 
+Libs: -L${libdir} -lCoinUtils -lbz2 -lz -llapack -lblas -lm 
 Cflags: -I${includedir}
 Requires: 

(the local coinutils build is a build without gfortan, simulated by
debuild -d)

Maybe coinutils should depend on them?

Regards,

Rene



More information about the debian-science-maintainers mailing list