I am trying to install the libraries on the macbook and, when I tried to compile the example program (clapack FAQ 1.9) using the following command
gcc -Wall -o test2 test.c -I./INCLUDE -L. -llapack_LINUX -lblas_LINUX -lf2c -lm
I have found the output
test.c:14: warning: return type defaults to ‘int’
test.c: In function ‘main’:
test.c:54: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘integer’
test.c:54: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘integer’
test.c:31: warning: unused variable ‘MN’
test.c:29: warning: unused variable ‘mn’
ld: library not found for -llapack_LINUX
collect2: ld returned 1 exit status
The file test.c is in the same folder as lapack_LINUX.a and also the other .a files (blas_LINUX.a and /F2CLIBS/libf2c.a) are present. What is the problem? Can it be generated from a wrong installation procedure?

