installation problem


Click here for full thread
Clicked A Few Times
hello everyone.

I am trying for nwchem installation. when I use NTERNALBLAS I faces with the followin Error:
So what is the solution?

...
/home/harir/nwchem-6.8.1-release/lib/LINUX64/libpeigs.a(inv_it3.o):inv_it3.c:(.text+0x320): more undefined references to `ycopy_' follow
/home/harir/nwchem-6.8.1-release/lib/LINUX64/libpeigs.a(inv_it3.o): In function `inv_it3':
inv_it3.c:(.text+0x377): undefined reference to `ylagtf_'
inv_it3.c:(.text+0x3cc): undefined reference to `yasum_'
inv_it3.c:(.text+0x43e): undefined reference to `yscal_'
inv_it3.c:(.text+0x47b): undefined reference to `ylagts_'
inv_it3.c:(.text+0x48f): undefined reference to `iyamax_'
inv_it3.c:(.text+0x698): undefined reference to `ynrm2_'
inv_it3.c:(.text+0x6c6): undefined reference to `yscal_'
inv_it3.c:(.text+0x6f8): undefined reference to `ycopy_'
/home/harir/nwchem-6.8.1-release/lib/LINUX64/libpeigs.a(mgscs.o): In function `mgscs':
mgscs.c:(.text+0x5a5): undefined reference to `ynrm2_'
mgscs.c:(.text+0x5d5): undefined reference to `yscal_'
mgscs.c:(.text+0x5f2): undefined reference to `ycopy_'
mgscs.c:(.text+0x6a6): undefined reference to `ydot_'
mgscs.c:(.text+0x6d9): undefined reference to `yaxpy_'
collect2: error: ld returned 1 exit status
GNUmakefile:33: recipe for target 'all' failed
make: *** [all] Error 1


my installation commands:

export NWCHEM_TOP="/home/harir/nwchem-6.8.1-release"
export NWCHEM_MODULES="all"
export NWCHEM_TARGET="LINUX64"
export NWCHEM_LONG_PATHS="y"



export PYTHONHOME="/usr/bin"
export PYTHONVERSION="2.7"
export PYTHONLIBTYPE="so"
export USE_PYTHON64="y"


export USE_NOFSCHECK="y"
export TCGRSH="/usr/bin/ssh"
export LARGE_FILES="y"
export USE_MPI="y"
export USE_MPIF="y"
export USE_MPIF4="y"

export MPI_LOC="/usr/lib/x86_64-linux-gnu/openmpi"
export MPI_INCLUDE="/usr/lib/x86_64-linux-gnu/openmpi/include"
export MPI_LIB="/usr/lib/x86_64-linux-gnu/openmpi/lib"
export LIBMPI="-lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi"
export USE_OPENMP="y"

export USE_INTERNALBLAS="y"
sudo ln -s /usr/include /usr/bin/include (this command fixes "fatal error: Python.h: No such file or directory"error proposed by one of good friends, special thanks to Max)

cd $NWCHEM_TOP/src
make clean
make 64_to_32
make FC='gfortran' CC='gcc'