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}"
Created attachment 386638 [details] emerge --info
--with-libmkl=/usr/lib64 isn't mkl supposed to be in /opt? Do you have a link to it under /usr/lib64?
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.