OpenCV-2.0.0 bundles a copy of LAPACK (3rdparty/lapack) Attached is a modified patch based on the patch by Anuraag Agrawal [1] to use system LAPACK. Building/Linking of bundled/system LAPACK is controlled through the cmake variable BUILD_LAPACK, which is on by default to maintain current bahviour. Maybe someone can work this into the ebuild, unfortunately I'm not familiar with writing ebuilds at all. best regards, gottfried [1] http://sourceforge.net/tracker/index.php?func=detail&aid=2778556&group_id=22870&atid=376679 Reproducible: Always
Created attachment 224933 [details, diff] patch against OpenCV-2.0.0 to use system LAPACK
I modified the ebuild to incorporate the patch, it works fine in my local overlay. The useflag bundled-lapack controls building/linking of bundled/system LAPACK. It is set on by default w.r.t. upstream. Maybe i can also fix the issue with bundled zlib http://bugs.gentoo.org/show_bug.cgi?id=296683 it seems a quite similar problem. best regards gottfried
Created attachment 225667 [details] ebuild to incorporate the lapack patch Added useflag bundled-lapack, set on by default
Fixed in 2.2.0 in kde overlay. Will be moved to main tree soon.