Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525366 - media-gfx/povray-3.7.0.0 fails src_configure w/ USE=mkl ( configure: error: Cannot find working mkl library )
Summary: media-gfx/povray-3.7.0.0 fails src_configure w/ USE=mkl ( configure: error: C...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-14 02:04 UTC by Kent Fredric (IRC: kent\n)
Modified: 2015-07-11 10:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,290.92 KB, text/x-log)
2014-10-14 02:04 UTC, Kent Fredric (IRC: kent\n)
Details
emerge --info (einfo,5.82 KB, text/plain)
2014-10-14 02:04 UTC, Kent Fredric (IRC: kent\n)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) gentoo-dev 2014-10-14 02:04:00 UTC
Created attachment 386636 [details]
config.log

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-3.7.0.0::gentoo' mkl
[ebuild   R   ] sci-libs/mkl-10.0.5.025  USE="-doc -fftw -fortran95 -int64 -mpi" 
[ebuild   R   ] media-gfx/povray-3.7.0.0  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 libmkl.so
/opt/intel/mkl/10.0.5.025/lib/em64t/libmkl.so
/opt/intel/mkl/10.0.5.025/lib/em64t/libmkl_solver_ilp64_sequential.a
/opt/intel/mkl/10.0.5.025/lib/em64t/libmkl_solver_lp64_sequential.a
/opt/intel/mkl/10.0.5.025/lib/em64t/libmkl_solver.a
/opt/intel/mkl/10.0.5.025/lib/em64t/libmkl_solver_lp64.a
/opt/intel/mkl/10.0.5.025/lib/em64t/libmkl_solver_ilp64.a

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

find /usr/lib64/ | grep -i mkl
/usr/lib64/rsyslog/imklog.so
/usr/lib64/go/include/plan9/mklibc.rc
/usr/lib64/debug/usr/sbin/mklost+found.debug
/usr/lib64/debug/usr/lib64/rsyslog/imklog.so.debug
/usr/lib64/debug/usr/bin/grub2-mklayout.debug

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.