ar -x libatlas.a gcc -fPIC -shared *.o -o libatlas.so
If you encounter an error with the linker that refers to multiple definitions of a function then pass the following option to the linker:
gcc -Xlinker -fPIC -shared *.o -o libatlas.so
ar -x libatlas.a gcc -fPIC -shared *.o -o libatlas.so
If you encounter an error with the linker that refers to multiple definitions of a function then pass the following option to the linker:
gcc -Xlinker -fPIC -shared *.o -o libatlas.so
mkdir BUILD cd BUILD ../configure -b 64 -Fa alg -fPIC --with-netlib-lapack-tarfile=<path to lapack.tgz> --prefix=/home/sam/local make cd lib make shared make ptshared cd .. make install