I have also experienced a similar issue where the lapack and blas libraries are not found. Instead of manually specifying the path of the libraries in the makefile, how can I make these libraries shared on my machine? I have other computers that already have lapack and blas set up as shared libraries and they can be conveniently used in a makefile.