In my case I did not "installed" the shared libraries (they were left in build directory). So the "conftest" program made by configure script cannot find the shared library and fails.
I suspect in Jake's case the /opt/OpenBLAS/lib directory is not in the dynamic linker path. So the solution is to add it somewhere to /etc/ld.so.conf.d/ re-run ldconfig and it should work.