Reference CBLAS from Netlib compiles into static library (http://www.netlib.org/blas/blast-forum/cblas.tgz). I needed a shared library.
First, you need to download and compile BLAS, since CBLAS is just C interface to Fortran BLAS:
Next, you need to download and configure CBLAS:
First, you need to download and compile BLAS, since CBLAS is just C interface to Fortran BLAS:
It will produce static library "blas_LINUX.a".wget http://www.netlib.org/blas/blas.tgztar xzvf blas.tgzcd BLASmake
Next, you need to download and configure CBLAS:
Replace the corresponding variables in "Makefile.in" with:wget http://www.netlib.org/blas/blast-forum/cblas.tgztar xzvf cblas.tgzcd CBLAS
Finally, make CBLAS:BLLIB = /path_to_compiled_BLAS/blas_LINUX.a CBLIB = ../lib/cblas_$(PLAT).soCFLAGS = -O3 -DADD_ -fPICFFLAGS = -O3 -fPICARCH = gccARCHFLAGS = -shared -o
It will produce shared library "cblas_LINUX.so".make