Skip to content
Prev 17775 / 63421 Next

looks in liblapack.a not liblapack.so

Peter Dalgaard wrote:

            
I am sorry Peter, I am trying really hard to replicate this bug but I have
not been able to see the same result, no matter what I try.

  I have download the latest tar ball and then I run:

$ ./configure --with-lapack="-llapack -lblas"
...
R is now configured for x86_64-unknown-linux-gnu

  Source directory:          .
  Installation directory:    /usr/local

  C compiler:                gcc  -g -O2
  C++ compiler:              g++  -g -O2
  Fortran compiler:          gfortran  -g -O2

  Interfaces supported:      X11
  External libraries:        readline
  Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
  Options enabled:           R profiling

  Recommended packages:      yes

$ make -j8
$ make check

  It works.

  OTOH I am not sure that configure is accepting my options. Looking into
config.log I don't see that value being used, and I noticed that the lapack
module it is still being built.

  I read docs/manual/R-admin.html but without any difference. I have tried
different forms:

--with-lapack
--with-lapack="-llapack -lcblas"
--with-lapack="-llapack -lblas"

  What am I missing?
Thanks,