Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 567128

Summary: dev-libs/igraph-0.7.1-r1: ld: cannot find -llapack ; ld: cannot find -lblas
Product: Gentoo Linux Reporter: Vladimir <v_2e>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
config.log

Description Vladimir 2015-11-29 22:11:31 UTC
Created attachment 418176 [details]
Build log

After recent fixes in 'science' overlay (I guess), dev-libs/igraph-0.7.1-r1 fails to build with the following error message:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llapack
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
Makefile:1386: recipe for target 'libigraph.la' failed
Comment 1 Rafał Mużyło 2015-11-30 02:29:46 UTC
Attach config.log too.
Comment 2 Vladimir 2015-11-30 05:53:55 UTC
Created attachment 418178 [details]
config.log
Comment 3 Rafał Mużyło 2015-11-30 11:48:35 UTC
So :

ARPACK_LIBS='-larpack -llapack -L/usr/lib64/blas/reference -lblas   '

BLAS_LIBS='-lrefblas  '
LAPACK_LIBS='-lreflapack -lrefblas  '

Looks like something went out of sync here.
Given the error, check arpack.
Comment 4 Vladimir 2015-12-25 22:38:51 UTC
This seems to be fixed now. I am not sure about the exact commit that fixed this issue, but the igraph was successfully built on my system on December 15, which means somebody had made it possible by that time. Thanks!