[GRASS-user] grass 6.2.3 cannot find BLAS
Hamish
hamish_nospam at yahoo.com
Fri Nov 30 17:44:30 EST 2007
Hernán De Angelis wrote:
> Thanks for that! Here are the last lines of config.log. Configure
> complains about undefined refernces to things. I guess it might be
> something related to gcc/gfortran but I can't understand the cause of
> the failure.
>
>
> configure:12134: checking whether to use BLAS
> configure:12156: checking for location of BLAS library
> configure:12183: checking for dnrm2_ in -lblas
> configure:12200: gcc -o conftest -g -O2 -Wl,--export-dynamic
> conftest.c -lblas -lm 1>&5
> /usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
> reference to `_gfortran_st_write_done'
> /usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
> reference to `_gfortran_transfer_integer'
> /usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
> reference to `_gfortran_stop_numeric'
> /usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
> reference to `_gfortran_st_write'
> /usr/lib/gcc/i586-suse-linux/4.1.2/../../../libblas.so: undefined
> reference to `_gfortran_transfer_character'
> collect2: ld returned 1 exit status
It would seem to me that your copy of libblas was built missing the -lgfortran
switch in the Makefile (it's not linking to the gfortran library). i.e. your
BLAS package is broken. have a look at libblas.so with 'ldd' and/or 'nm -D'
Hamish
____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
More information about the grass-user
mailing list