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

Bug 525366

Summary: media-gfx/povray- fails src_configure w/ USE=mkl ( configure: error: Cannot find working mkl library )
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) <kentnl>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: CONFIRMED ---    
Severity: normal CC: frp.bissey, kripton
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: config.log
emerge --info

Description Kent Fredric (IRC: kent\n) gentoo-dev 2014-10-14 02:04:00 UTC
Created attachment 386636 [details]

checking boost/system/error_code.hpp usability... yes
checking boost/system/error_code.hpp presence... yes
checking for boost/system/error_code.hpp... yes
checking for the Boost system library... yes
checking boost/thread.hpp usability... yes
checking boost/thread.hpp presence... yes
checking for boost/thread.hpp... yes
checking for the Boost thread library... (cached) yes
checking for sin in -lmkl... no
configure: error: Cannot find working mkl library

emerge -pqv '=media-gfx/povray-' mkl
[ebuild   R   ] sci-libs/mkl-  USE="-doc -fftw -fortran95 -int64 -mpi" 
[ebuild   R   ] media-gfx/povray-  USE="X io-restrictions mkl* tiff -debug -openexr -static-libs {-test}"
Comment 1 Kent Fredric (IRC: kent\n) gentoo-dev 2014-10-14 02:04:33 UTC
Created attachment 386638 [details]
emerge --info
Comment 2 Fran├žois Bissey 2014-10-14 02:32:44 UTC
--with-libmkl=/usr/lib64 isn't mkl supposed to be in /opt? Do you have a link to it under /usr/lib64?
Comment 3 Kent Fredric (IRC: kent\n) gentoo-dev 2014-10-14 02:57:23 UTC
Indeed, it is in opt:

qlist mkl | grep

However, there's no symlink in /usr/lib64/ that I can see.

find /usr/lib64/ | grep -i mkl

Also, I have this failing in the same way on two distinct systems, initially it was a paludis box, so I replicated it with a fresh install of mkl on a box that had never had mkl on it before. ( as evidenced by the initial lack of the intel license file ;) )

SO the absence of the symlink in conjuction with:

  $(use_with mkl libmkl "${EPREFIX}/usr/$(get_libdir)")

Probably explains the issue.