arpack installed but configure fails on it
Reported by Ricardo Fabbri
./configure has recently been complaining about libarpack:
====Output of configure =====
Library -llapack found
checking if ARPACK-ng is available...
checking for znaupd_ in -larpack... no
configure: error: Impossible to find the ARPACK library. Please note that arpack was bundled with version prior to 5.4.0 and Scilab requires arpack-ng ( http://forge.scilab.org/index.php/p/arpack-ng/ ).
==== Exerpt from config.log =======
configure:22461: gcc -o conftest -g -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -fno-stack-protector -DNARROWPROTO -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ -msse -msse -Wl,--no-as-needed conftest.c -larpack -lblas -lpthread -ldl -lcurses -lm -L/usr/lib/gcc/i686-linux-gnu/4.6.1 -L/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6.1/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.6.1/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath >&5
/usr/lib/liblapack.so.3gf: undefined reference to `ATL_chemv'
/usr/lib/liblapack.so.3gf: undefined reference to `ATL_dptsyrk'
/usr/lib/liblapack.so.3gf: undefined reference to `ATL_sspr2'
/usr/lib/liblapack.so.3gf: undefined reference to `ATL_cmoveConj'
/usr/lib/liblapack.so.3gf: undefined reference to `ATL_cgbmv'
/usr/lib/liblapack.so.3gf: undefined reference to `ATL_sspmv'
/usr/lib/liblapack.so.3gf: undefined reference to `ATL_cpttrsm'
/usr/lib/liblapack.so.3gf: undefined reference to `ATL_cscal'
I've tried installed arpack from http://forge.scilab.org/index.php/p/arpack-ng/
as suggested by the configure error message but it still doesn't work.
I tried typing "ldconfig" or even removing the ubuntu libarpack packages, to no avail.
To me it seem that a -l link flag is missing or mis-ordered in this test.