On Mon, 23 Jun 2008, Gordon Hughes wrote:
There is an additional problem under Ubuntu 8.04. When I tried to
run the
NIST test script, gretl appears to crash without any error message. Run from
the terminal, the following messages are given:
setlocale(LC_NUMERIC, "en_GB.UTF-8") returned en_GB.UTF-8
cholbeta: test[6] = 3.77516e-09
/usr/local/bin/gretl_x11: symbol lookup error:
/usr/lib/atlas/liblapack.so.3gf: undefined symbol: _gfortran_pow_r8_i4
The crucial message is the last one and shows that there is a problem of
compatibility with some versions of the lapack library. I haven't
encountered the problem with other test runs, but that may be fortuitous.
Before compiling gretl I had some problems in identifying the correct
versions of lapack-dev to install under the Ubuntu. There are multiple
versions of the atlas/blas/refblas/lapack suites available under synaptic and
it seems that they are not all compatible with each other - or with gretl.
Does anyone have experience with this?
I had the same problem some time ago on my Ububtu laptop (which I don't
have here with me atm, so I can't check the details). However, it turned
out that the incompatibility was due to the old fortran compiler and its
interaction with the newer atlas libraries. Check you config.log: you're
likely to have a line starting with "LAPACK_LIBS" which includes
"-lg2c".
If this is the case, remove you fortran 77 compiler and use gfortran
instead. This ought to fix things.
I _believe_ this is an ubuntu problem, in that there's some compatibility
problem between packase like libatlas3gf-sse2 and g77. I honestly don't
know if it's possible, or advisable, to include a configure check for
this.
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti