My system is OS X El Capitan (10.11.6). When I try emerging sci-libs/lapack-reference (pulled in by numpy) there is the following error during install: * ERROR: sci-libs/lapack-reference-3.7.0::gentoo_prefix failed: * invalid install_name found, your application or library will crash at runtime Not sure if this is related to Bug 605214, where I was getting the same error. I worked around it using FEATURES="allow_broken_install_names" emerge ... But shortly after that emerging cblas-reference fails. Not sure if it's related (I'll enter a different bug for that). Reproducible: Always
Created attachment 462470 [details] emerge --info
Created attachment 462472 [details] build.log
Please don't use allow_broken_installnames, the error is genuine and cascades into other problems, so please don't. I'm sure the solution here is similar to the fix for cblas-reference: they move the dynamic libraries, but on Darwin this needs to be recorded in the libraries too (the install_names).
Created attachment 462560 [details, diff] ebuild patch
Thanks, I copied from the blas-reference change and that fixed the problem.
thanks