You have bit of corner case here.
The easiest and best thing to do is to NOT use the BLAS/LAPACK that we provide.
Rather you should install blas and lapack.
For ubuntu, I think you want to run "sudo apt install blas lapack" .
Notwithstanding, if you want to use the provided blas and lapack, you should add $BLASLIB and $LAPACKLIB into main/makefile;
you parrot the commented out format shown for the optional arpack libraries. Ubuntu makes this a giant pain. Let us know if
it is still giving you trouble and we can try to spin up an Ubuntu machine without blas and lapack and figure out the install details for you.