On Thu, 18 Aug 2011, Skipper Seabold wrote:
On Thu, Aug 18, 2011 at 5:32 PM, Allin Cottrell
<cottrell(a)wfu.edu> wrote:
> On Thu, 18 Aug 2011, Skipper Seabold wrote:
>
>> Trying to install gretl 1.9.5 from source due to the known seg faults
>> in the downstream ubuntu 11.04 repositories. I have all the
>> dependencies installed, except my lapack (3.2.2) was built with ATLAS
>> (3.9.2) with the same version of gcc I have installed. The lapack
>> stuff seems to be giving me troubles, though I'm not too sure why.
>
> No doubt this should be better documented, but if you want to build
> gretl against atlas you should use the LAPACK_LIBS environment
> variable. For example:
>
> LAPACK_LIBS='-L/your/atlas/lib -llapack -lf77blas -lcblas -latlas' \
> ./configure <options>
>
> You can't just replace -lblas with -lcblas, because more libraries
> are needed with an atlas build, including crucially libatlas.
Right, I neglected to mention that I also tried to edit configure to link
against atlas, cblas, f77blas, etc. to the same effect about the hidden
symbol.
Are you saying that all I need to do is define LAPACK_LIBS as such and then
run configure, or do I still need the with-lapack-prefix as well??
Just use LAPACK_LIBS; the lapack-prefix thing is only for use where
you have the standard "-llapack -lblas" linkage, but are using a
non-standard installation directory.
[...] it fails to build, saying it can't find lblas
"lblas"? Looks like a typo?
I'll take another look on the host where I'm building against atlas
and report back.
Allin Cottrell