libopenblas provides a libopenblas.so, which is a badly formated one (aka no SONAME) readelf -d /usr/local/lib/libopenblas.so.0 Dynamic section at offset 0x18b4690 contains 29 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libgfortran.so.3] 0x0000000000000001 (NEEDED) Shared library: [libm.so.5] 0x0000000000000001 (NEEDED) Shared library: [libquadmath.so.0] 0x0000000000000001 (NEEDED) Shared library: [libc.so.7] 0x000000000000001d (RUNPATH) Library runpath: [/usr/local/lib/gcc48] 0x000000000000000c (INIT) 0x104a38 0x000000000000000d (FINI) 0x180b548 0x0000000000000019 (INIT_ARRAY) 0x1ab01f8 0x000000000000001b (INIT_ARRAYSZ) 8 (bytes) 0x000000000000001a (FINI_ARRAY) 0x1ab0200 0x000000000000001c (FINI_ARRAYSZ) 8 (bytes) .... There should be a SONAME section which should be libopenblas.so.0 otherwise binaries linking to it sill endup being linked to libopenblas.so instead of libopenblas.so.0
Created attachment 168915 [details] patch for HEAD
Thanks for the quick fix!
A commit references this bug: Author: bapt Date: Mon Apr 4 20:46:23 UTC 2016 New revision: 412529 URL: https://svnweb.freebsd.org/changeset/ports/412529 Log: Create a proper library with a SONAME PR: 208472 Submitted by: phd_kimberlite@yahoo.co.jp (maintainer) MFH: 2016Q2 Changes: head/math/openblas/Makefile head/math/openblas/files/patch-Makefile.system head/math/openblas/files/patch-exports+Makefile