Hi,
I suggest to apply the following patch :
diff -ur linbox-1.3.2.orig/tests/Makefile.am linbox-1.3.2/tests/Makefile.am
--- linbox-1.3.2.orig/tests/Makefile.am 2012-06-10 16:52:36.000000000 +0200
+++ linbox-1.3.2/tests/Makefile.am 2012-06-10 16:52:52.000000000 +0200
@@ -22,7 +22,7 @@
AM_CPPFLAGS=-I$(top_srcdir) -I$(top_srcdir)/linbox
# AM_LDFLAGS = -llapack -lcblas -latlas
-AM_LDFLAGS = $(top_srcdir)/linbox/.libs/liblinbox.a
+AM_LDFLAGS = $(top_srcdir)/linbox/
liblinbox.la # SAFER_FLAGS = -g -Wall -Wextra -Wno-unused-parameter
# bds: no need to optimize for unit/regression tests, and opt adds a lot to compilation time
#AM_CXXFLAGS = @TESTS_CFLAGS@ -DLinBoxSrcOnly
because when building with --disable-static, there is no linbox.a.
It is better to point to
linbox.la, as it is then libtool's problem to decide what to link to, and how.
Hope that helps,
Snark on #sagemath