Bug#577960: /usr/bin/ld: cannot find -llapackgf-3

Hans Schou hans at ange.dk
Mon Apr 19 12:33:44 UTC 2010


2010/4/18 Sylvestre Ledru <sylvestre at debian.org>:
> Le jeudi 15 avril 2010 à 16:49 +0200, Hans Schou a écrit :
>> Package: liblapack-dev
>> Version: 3.2.1-7
>> Severity: normal
>> Tags: sid
>>
>>
>> When trying to link with lapack I get the error message:
>>    /usr/bin/ld: cannot find -llapackgf-3
> What and how are you trying to link ?
>
> If you are doing that by hand, replace -llapackgf-3 by -llapack
> the previous usage has been deprecated.

I found out that my problem is related to octave3.0-headers. If I
change /usr/bin/mkoctfile the problem disappear (and the symlinks I
previous made has been removed).

I guess I should report a bug in octave3.0-headers instead, or what?

I'm sorry for the wrong report about lapack+blas.

Patch for mkoctfile applied at the bottom.

best regards/hans

--- /usr/bin/mkoctfile  2010-02-23 15:43:15.000000000 +0100
+++ bin/mkoctfile       2010-04-19 14:22:57.000000000 +0200
@@ -22,6 +22,8 @@
 ## along with Octave; see the file COPYING.  If not, see
 ## <http://www.gnu.org/licenses/>.

+set -h
+
 # Exit immediately on any error.

 set -e
@@ -94,7 +96,7 @@
 : ${LIBOCTINTERP=-loctinterp}
 : ${LIBREADLINE=-lreadline}
 : ${LIBCRUFT=-lcruft}
-: ${BLAS_LIBS="-llapackgf-3 -lblas-3gf"}
+: ${BLAS_LIBS="-llapack -lblas"}
 : ${FFTW_LIBS="-lfftw3"}
 : ${LIBS="-lreadline  -lncurses -ldl -lhdf5 -lz -lm "}
 : ${FLIBS="-lgfortranbegin -lgfortran"}





More information about the debian-science-maintainers mailing list