for the most part this should be like a GNU installation.
As of LAPACK >=3.6 the subroutine DGEGV is deprecated and replaced by DGGEV [[1]]. Linking against LAPACK 3.6 or higher will result in following error message undefined reference to `dgegv_'
The recommended solution to this problem is to add following line to the makefile.include
CPP_OPTIONS += -DLAPACK36
and following lines to ./src/symbol.inc
! routines replaced in LAPACK >=3.6
#ifdef LAPACK36
#define DGEGV DGGEV
#endif
This will replace all calls of DGEGV by DGGEV before compilation.
[1] https://www.vasp.at/wiki/index.php/Installing_VASP.5.X.X#Linking_against_libraries